//Test function:  Pop up the Modal Window with Yes, No, and Cancel buttons.
    public void TestYNC(TestModalWindow instance)
    {
        Sprite icon = null;

        UIPanel.SetActive(true);
        //ModalWindow.SetActive(true);
        ModalPanel.MessageBox(icon, "Test 11 Yes No Cancel", "Would you like a poke in the eye?\nHow about with a sharp stick?", instance.TestYesFunction, instance.TestNoFunction, instance.TestCancelFunction, instance.TestOkFunction, false, "YesNoCancel");
    }
Ejemplo n.º 2
0
	//Test function:  Pop up the Modal Window with Yes, No, and Cancel buttons.
	public void TestYNC()
	  {
		Sprite icon = null;
		ModalPanel.MessageBox(icon, "Test Yes No Cancel", "Would you like a poke in the eye?\nHow about with a sharp stick?", TestYesFunction, TestNoFunction, TestCancelFunction, TestOkFunction, false, "YesNoCancel");
	  }
Ejemplo n.º 3
0
 public void showErrorDialog(UnityAction OkEvent)
 {
     modalPanel.MessageBox(icon, title, message, null, null, null, OkEvent, iconActive, messageType);
 }