private void Awake() { if (Instance == null) { Instance = this; } else { Destroy(gameObject); } }
private void Awake() { Instance = this; GameObject.DontDestroyOnLoad(this.gameObject); }