| | |
| | |
|
| | | if (m_Realm != null)
|
| | | {
|
| | | if (_realm > 0)
|
| | | if (Config.Instance.ContainKey<RealmConfig>(_realm))
|
| | | {
|
| | | m_Realm.gameObject.SetActive(true);
|
| | | var realmConfig = ConfigManager.Instance.GetTemplate<RealmConfig>(_realm);
|
| | | var realmConfig = Config.Instance.Get<RealmConfig>(_realm);
|
| | | if (realmConfig != null)
|
| | | {
|
| | | m_Realm.SetSprite(realmConfig.Img);
|
| | |
| | | m_Portrait.material = isGray ? m_GrayMaterial : m_NormalMaterial;
|
| | | }
|
| | |
|
| | | protected void UpdateBossRebornCoolDown(bool _isUnLocked)
|
| | | protected virtual void UpdateBossRebornCoolDown(bool _isUnLocked)
|
| | | {
|
| | | if (_isUnLocked)
|
| | | {
|