Beispiel #1
0
 void OnDestroy()
 {
     if (_instance == this)
     {
         _instance = null;
     }
 }
Beispiel #2
0
 void Awake()
 {
     foreach (SkillTipsInfo sti in _skillTipsInfo)
     {
         sti._currentFinishCount = PlayerPrefs.GetInt(sti._skillToShowTips);
         sti.SetActive(false);
     }
     _instance   = this;
     _currentSti = null;
 }