| | |
| | | {
|
| | | activateType = ActivateFunc.TreasureSoul;
|
| | | treasureSoulId = id;
|
| | | titleIconKey = "XT_FBZH_11";
|
| | | propertyCompares.Clear();
|
| | | propertyUpDict.Clear();
|
| | | var model = ModelCenter.Instance.GetModel<TreasureSoulModel>();
|
| | |
| | | {
|
| | | m_ContainerTreasureSoul.gameObject.SetActive(true);
|
| | | m_TreasureSoulIcon.SetSprite(config.Icon);
|
| | | m_TreasureSoulIcon.SetNativeSize();
|
| | | m_TreasureSoulName.text = config.Name;
|
| | | }
|
| | | }
|
| | |
| | |
|
| | | m_SelectSoulImg.SetSprite(config.Icon);
|
| | | m_SelectSoulImg.material = special.active ? MaterialUtility.GetUIDefaultGraphicMaterial() : MaterialUtility.GetDefaultSpriteGrayMaterial();
|
| | | m_SelectSoulImg.SetNativeSize();
|
| | |
|
| | | if (special.active)
|
| | | {
|