all repos — RPG @ 44a6fb4aa7a60749bfe9d30472e7550b824ffe51

Fully functional 3D turn based role playing game coded in C# and base Unity.

fix main menu logic
Marco Andronaco andronacomarco@gmail.com
Wed, 15 Apr 2020 15:35:08 +0200
commit

44a6fb4aa7a60749bfe9d30472e7550b824ffe51

parent

dd5f6156ac54813c7cb4bff643887514808b3930

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M Assets/Scripts/Menu/MenuManager.csAssets/Scripts/Menu/MenuManager.cs

@@ -43,9 +43,9 @@ }

public void LoadGame() { + hideAllPanels(); if(currentPanel == Panel.Load) { - hideAllPanels(); currentPanel = Panel.None; } else {

@@ -63,9 +63,9 @@ }

public void Credits() { + hideAllPanels(); if (currentPanel == Panel.Credits) { - hideAllPanels(); currentPanel = Panel.None; } else

@@ -77,9 +77,9 @@ }

public void Settings() { + hideAllPanels(); if (currentPanel == Panel.Settings) { - hideAllPanels(); currentPanel = Panel.None; } else