Example #1
0
    public void EnablePauseMenu()
    {
        if (ActiveWidget)
        {
            ActiveWidget.DisableWidget();
        }

        ActiveWidget = PauseCanvas;
        ActiveWidget.EnableWidget();
    }
    public void EnablePauseMenu()
    {
        if (activeWidget)
        {
            activeWidget.DisableWidget();
        }

        activeWidget = pauseCanvas;
        activeWidget.EnableWidget();
    }
Example #3
0
 public void DisableAllMenus()
 {
     GameCanvas.DisableWidget();
     PauseCanvas.DisableWidget();
 }
Example #4
0
 public void DisableAllMenu()
 {
     GameCanvas.DisableWidget();
     PauseCanvas.DisableWidget();
     InventoryCanvas.DisableWidget();
 }
 public void DisableAllMenus()
 {
     gameCanvas.DisableWidget();
     pauseCanvas.DisableWidget();
     inventoryCanvas.DisableWidget();
 }