void Awake() { isActive = false; if (null == Instance) { Instance = this; } else { Destroy(gameObject); } DontDestroyOnLoad(this); }
void Awake() { Instance = this; isActive = false; DontDestroyOnLoad(this); }
void Awake() { isActive = false; if (null == Instance) { Instance = this; } else { Destroy(gameObject); } DontDestroyOnLoad(this); }
void Awake() { Instance = this; isActive = false; DontDestroyOnLoad(this); }