| | |
| | | m_FuncBtnDisplays[index].text = Language.Get(StringUtility.Contact("ItemHandle_", callBackType));
|
| | | m_Redpoints[index].gameObject.SetActive(false);
|
| | |
|
| | | if (callBackType == ItemWinBtnType.LevelUp)
|
| | | if (callBackType == ItemOperateType.LevelUp)
|
| | | {
|
| | | m_Redpoints[index].gameObject.SetActive(model.levelUpRedpoint.state == RedPointState.Simple
|
| | | && model.levelUpRedpointHole == itemTipsModel.curAttrData.equipHole);
|
| | | }
|
| | | else if (callBackType == ItemWinBtnType.Replace)
|
| | | else if (callBackType == ItemOperateType.Replace)
|
| | | {
|
| | | m_Redpoints[index].gameObject.SetActive(model.replaceRedpoint.state == RedPointState.Simple
|
| | | && itemTipsModel.curAttrData.index == model.replaceRedpointIndex);
|