mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Moved State enum to Settings class. Added checks for blip opacity based on whether map blips are enabled in settings
This commit is contained in:
parent
1bb4f2d750
commit
beddfe4223
1 changed files with 9 additions and 8 deletions
|
|
@ -3,12 +3,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace SceneManager
|
namespace SceneManager
|
||||||
{
|
{
|
||||||
public enum State
|
|
||||||
{
|
|
||||||
Uninitialized,
|
|
||||||
Creating,
|
|
||||||
Finished
|
|
||||||
}
|
|
||||||
|
|
||||||
public class Path
|
public class Path
|
||||||
{
|
{
|
||||||
|
|
@ -66,7 +61,10 @@ namespace SceneManager
|
||||||
{
|
{
|
||||||
wp.RemoveSpeedZone();
|
wp.RemoveSpeedZone();
|
||||||
}
|
}
|
||||||
LowerWaypointBlipsOpacity();
|
if (SettingsMenu.mapBlips.Checked)
|
||||||
|
{
|
||||||
|
LowerWaypointBlipsOpacity();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EnablePath()
|
public void EnablePath()
|
||||||
|
|
@ -79,7 +77,10 @@ namespace SceneManager
|
||||||
wp.AddSpeedZone();
|
wp.AddSpeedZone();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RestoreWaypointBlipsOpacity();
|
if (SettingsMenu.mapBlips.Checked)
|
||||||
|
{
|
||||||
|
RestoreWaypointBlipsOpacity();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue