Esempio n. 1
0
 void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     m_iGameTime = 120;
     m_fGameTime = (float)m_iGameTime;
 }
Esempio n. 2
0
 void OnDestroy()
 {
     instance = null;
 }