mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-03-09 18:30:06 +01:00
Changed foreground color of menu options user can select
This commit is contained in:
parent
5e73f89792
commit
c60fc5c032
3 changed files with 16 additions and 0 deletions
|
|
@ -41,11 +41,16 @@ namespace SceneManager
|
|||
pathMainMenu.Clear();
|
||||
|
||||
pathMainMenu.AddItem(createNewPath = new UIMenuItem("Create New Path"));
|
||||
createNewPath.ForeColor = Color.Gold;
|
||||
pathMainMenu.AddItem(editPath = new UIMenuListScrollerItem<int>("Edit Path", "", pathsNum));
|
||||
editPath.ForeColor = Color.Gold;
|
||||
pathMainMenu.AddItem(disableAllPaths = new UIMenuCheckboxItem("Disable All Paths", false));
|
||||
pathMainMenu.AddItem(deleteAllPaths = new UIMenuItem("Delete All Paths"));
|
||||
deleteAllPaths.ForeColor = Color.Gold;
|
||||
pathMainMenu.AddItem(directDriver = new UIMenuListScrollerItem<int>("Direct nearest driver to path", "", pathsNum));
|
||||
directDriver.ForeColor = Color.Gold;
|
||||
pathMainMenu.AddItem(dismissDriver = new UIMenuListScrollerItem<string>("Dismiss nearest driver", "", dismissOptions));
|
||||
dismissDriver.ForeColor = Color.Gold;
|
||||
|
||||
if (paths.Count == 8)
|
||||
{
|
||||
|
|
@ -82,9 +87,13 @@ namespace SceneManager
|
|||
trafficRemoveWaypoint.Enabled = true;
|
||||
pathMainMenu.Clear();
|
||||
pathMainMenu.AddItem(createNewPath = new UIMenuItem("Continue Creating Current Path"));
|
||||
createNewPath.ForeColor = Color.Gold;
|
||||
pathMainMenu.AddItem(deleteAllPaths = new UIMenuItem("Delete All Paths"));
|
||||
deleteAllPaths.ForeColor = Color.Gold;
|
||||
pathMainMenu.AddItem(directDriver = new UIMenuListScrollerItem<int>("Direct nearest driver to path", ""));
|
||||
directDriver.ForeColor = Color.Gold;
|
||||
pathMainMenu.AddItem(dismissDriver = new UIMenuListScrollerItem<string>("Dismiss nearest driver", ""));
|
||||
dismissDriver.ForeColor = Color.Gold;
|
||||
|
||||
if (GetPaths().Count == 8)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue