private void Awake() { if (_instance == null) { _instance = this; } }
void Awake() { if (instance != null) { Destroy(gameObject); } else { instance = this; } }
private void Awake() { canvasManager = transform.parent.GetComponent <CanvasManagerScript>(); }
void Awake() { instance = this; }