コード例 #1
0
ファイル: UnityHook.cs プロジェクト: ryandw11/WindowUI
    /*
     * 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));
    }