예제 #1
0
 public void EnableInventoryMenu()
 {
     if (activeWidget)
     {
         activeWidget.DisableWidget();
     }
     activeWidget = inventoryCanvas;
     activeWidget.EnableWidget();
 }
예제 #2
0
    public void EnableGameMenu()
    {
        if (ActiveWidget)
        {
            ActiveWidget.DisableWidget();
        }

        ActiveWidget = GameCanvas;
        ActiveWidget.EnableWidget();
    }
예제 #3
0
    public void EnablePauseMenu()
    {
        if (ActiveWidget)
        {
            ActiveWidget.DisableWidget();
        }

        ActiveWidget = PauseCanvas;
        ActiveWidget.EnableWidget();
    }
예제 #4
0
    public void EnableInventoryMenu()
    {
        if (ActiveMenu)
        {
            ActiveMenu.DisableWidget();
        }

        ActiveMenu = InventoryCanvas;
        ActiveMenu.EnableWidget();
    }
예제 #5
0
    public void EnableGameMenu()
    {
        if (ActiveMenu)
        {
            ActiveMenu.DisableWidget();
        }

        ActiveMenu = GameCanvas;
        ActiveMenu.EnableWidget();
    }
예제 #6
0
    public void EnableGameMenu()
    {
        if (activeWidget)
        {
            activeWidget.DisableWidget();
        }

        activeWidget = gameCanvas;
        activeWidget.EnableWidget();
    }
예제 #7
0
    public void EnablePauseMenu()
    {
        if (activeWidget)
        {
            activeWidget.DisableWidget();
        }

        activeWidget = pauseCanvas;
        activeWidget.EnableWidget();
    }