public void EnablePauseMenu() { if (ActiveWidget) { ActiveWidget.DisableWidget(); } ActiveWidget = PauseCanvas; ActiveWidget.EnableWidget(); }
public void EnablePauseMenu() { if (activeWidget) { activeWidget.DisableWidget(); } activeWidget = pauseCanvas; activeWidget.EnableWidget(); }
public void DisableAllMenus() { GameCanvas.DisableWidget(); PauseCanvas.DisableWidget(); }
public void DisableAllMenu() { GameCanvas.DisableWidget(); PauseCanvas.DisableWidget(); InventoryCanvas.DisableWidget(); }
public void DisableAllMenus() { gameCanvas.DisableWidget(); pauseCanvas.DisableWidget(); inventoryCanvas.DisableWidget(); }