private void Awake() { StartLayer.SetActive(true); if (_instance == null) { _instance = this; DontDestroyOnLoad(gameObject); } else { DestroyImmediate(gameObject); } }
private void Awake() { StartLayer.SetActive(true); if (_instance == null) { _instance = this; DontDestroyOnLoad(gameObject); } else { DestroyImmediate(gameObject); } }