void OnDestroy() { if(mInstance == this) mInstance = null; }
void Awake() { //Object.DontDestroyOnLoad(gameObject); if(mInstance == null) mInstance = this; }
void OnDestroy() { if(mInstance == this) mInstance = null; }
void Awake() { //Object.DontDestroyOnLoad(gameObject); if(mInstance == null) mInstance = this; }