private void Awake() { if (Instance == null) { Instance = this; DontDestroyOnLoad(gameObject); } else { DestroyImmediate(gameObject); } }
void Awake() { _cursor = GameObject.Find("Cursor").GetComponent <CursorCtrl>(); }