void Awake() { if (s_Instance != null) { Destroy(this); } else { s_Instance = this; DontDestroyOnLoad(this); } }
void OnDestroy() { s_Instance = null; }
void Awake() { if (s_Instance != null) { Destroy(this); } else { s_Instance = this; DontDestroyOnLoad(this); } }
void OnDestroy() { s_Instance = null; }