Beispiel #1
0
 void Awake()
 {
     m_Instance    = this;
     UnitImage     = GetComponent <Image>();
     CurHp.enabled = false;
 }
Beispiel #2
0
 void OnDestroy()
 {
     StopAllCoroutines();
     m_Instance = null;
 }