public IEnumerator MainMenuCoroutine() { enabled = true; Debug.Log("lololo"); FinishReason = FinishReasonType.None; yield return(new WaitWhile(() => FinishReason == FinishReasonType.None)); Debug.Log("lilili"); enabled = false; }
public void OnPlayClicked() { FinishReason = FinishReasonType.PlayClicked; }