void OnDestroy() { if (instance == this) { instance = null; } StopAllCoroutines(); showTween.Kill(true); OnComplete -= GoToMinigame; }
void Awake() { instance = this; trailsManager = GetComponent <GamesSelectorTrailsManager>(); tutorial = GetComponentInChildren <GamesSelectorTutorial>(true); }