1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 15:40:29 +01:00

Renamed togglePath checkbox item to disablePath

This commit is contained in:
Rich Dunne 2020-09-06 14:23:18 -06:00
parent e756ecb60f
commit 6321fce313
2 changed files with 6 additions and 5 deletions

View file

@ -161,7 +161,7 @@ namespace SceneManager
}
EditPathMenu.editPathMenu.Reset(true, true);
EditPathMenu.togglePath.Enabled = true;
EditPathMenu.disablePath.Enabled = true;
}
private static void PathMenu_OnItemSelected(UIMenu sender, UIMenuItem selectedItem, int index)
@ -170,6 +170,7 @@ namespace SceneManager
{
pathMainMenu.Visible = false;
PathCreationMenu.pathCreationMenu.Visible = true;
DebugGraphics.Draw3DWaypointOnPlayer();
// For each element in paths, determine if the element exists but is not finished yet, or if it doesn't exist, create it.
for (int i = 0; i <= paths.Count; i++)