private void Awake() { if (instance == null) { instance = this; } latestLevelPlayed = PlayerPersistence.GetIndexOfLastLevelPlayed(); }
void Awake() { Instance = this; gameObject.SetActive(false); }
void Awake() { Instance = this; base.canvasGroup = GetComponent<CanvasGroup> (); }