void Awake() { #region Singleton // Singleton if (instance == null) { instance = this; } else { Destroy(gameObject); } #endregion }
private void Awake() { _instance = this; skillCanvas = this.GetComponent <Canvas>(); }