void CleanUpSingletonInstance() { if (instance == this) { instance = null; } }
void EnsureSingletonInstance() { DontDestroyOnLoad(this); if (instance == null) { instance = this; } else { Destroy(this.gameObject); } }