/* * Button Hooks */ public void Yes() { if (activeMenu == null) { Debug.LogWarning("Error: There is not active menu."); return; } activeMenu.output = 0; ev.buttonPressed(new WindowUIEvent(activeMenu.getId(), activeMenu.getOutput(), activeMenu)); }