mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Fixed PathMainMenu not functioning correctly after finishing a path
This commit is contained in:
parent
0be10cb0ef
commit
e8c5e2ca69
2 changed files with 6 additions and 5 deletions
|
|
@ -173,10 +173,11 @@ namespace SceneManager
|
|||
}
|
||||
|
||||
MenuManager.menuPool.CloseAllMenus();
|
||||
pathCreationMenu.Reset(true, true); // Trying to see if we can get away with resetting the menu instead of rebuilding it
|
||||
//PathMainMenu.pathMainMenu.Clear();
|
||||
//PathMainMenu.BuildPathMenu();
|
||||
//trafficEndPath.Enabled = false;
|
||||
//pathCreationMenu.Reset(true, true); // Trying to see if we can get away with resetting the menu instead of rebuilding it
|
||||
PathMainMenu.createNewPath.Text = "Create New Path";
|
||||
PathMainMenu.pathMainMenu.Clear();
|
||||
PathMainMenu.BuildPathMenu();
|
||||
trafficEndPath.Enabled = false;
|
||||
PathMainMenu.pathMainMenu.Visible = true;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace SceneManager
|
|||
{
|
||||
public static UIMenu pathMainMenu { get; private set; }
|
||||
public static UIMenuItem createNewPath { get; private set; }
|
||||
private static UIMenuItem deleteAllPaths;
|
||||
public static UIMenuItem deleteAllPaths;
|
||||
public static UIMenuListScrollerItem<int> editPath { get; private set; }
|
||||
public static UIMenuListScrollerItem<string> directOptions { get; private set; }
|
||||
public static UIMenuListScrollerItem<int> directDriver { get; private set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue