public static void Question(string question, UnityAction yes, UnityAction no) { /* felugró ablak */ singleton.dialog.SetActive(true); //ablak bekapcsolása Console.Log("Showing dialog: " + question); singleton.question.text = question; singleton.AddEventsToButtons(yes, no); singleton.yes.gameObject.SetActive(true); singleton.cancel.gameObject.SetActive(true); }