mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Removed GetPaths() method from PathMainMenu and updated references to paths list.
This commit is contained in:
parent
3c636c1564
commit
2241e107de
6 changed files with 42 additions and 41 deletions
|
|
@ -32,7 +32,7 @@ namespace SceneManager
|
|||
|
||||
private static void EditPath_OnItemSelected(UIMenu sender, UIMenuItem selectedItem, int index)
|
||||
{
|
||||
var currentPath = PathMainMenu.GetPaths()[PathMainMenu.editPath.Index];
|
||||
var currentPath = PathMainMenu.paths[PathMainMenu.editPath.Index];
|
||||
|
||||
if (selectedItem == editPathWaypoints)
|
||||
{
|
||||
|
|
@ -49,7 +49,7 @@ namespace SceneManager
|
|||
{
|
||||
if (checkboxItem == disablePath)
|
||||
{
|
||||
var currentPath = PathMainMenu.GetPaths()[PathMainMenu.editPath.Index];
|
||||
var currentPath = PathMainMenu.paths[PathMainMenu.editPath.Index];
|
||||
if (disablePath.Checked)
|
||||
{
|
||||
currentPath.DisablePath();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue