void Awake() { if (instance == null) { instance = this; } m_iGameTime = 120; m_fGameTime = (float)m_iGameTime; }
void OnDestroy() { instance = null; }