void Awake() { Instance = this; enabled = false; #if UNITY_IPHONE || UNITY_ANDROID enabled = true; m_InitOK = DoInit(); #endif }
protected void OnDestroy() { ins = null; }
void Awake() { ins = this; DoInit(); enabled = false; }
void OnDestroy() { Instance = null; }