void SingletonThisClass() { if (m_INSTANCE != null && m_INSTANCE != this) { Destroy(this.gameObject); return; } else { m_INSTANCE = this; } //DontDestroyOnLoad(gameObject); }
void SingletonThisClass() { if (m_INSTANCE != null && m_INSTANCE != this) { Destroy(this.gameObject); return; } else { m_INSTANCE = this; } //DontDestroyOnLoad(gameObject); }