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
|
||||
{
|
||||
public enum State
|
||||
{
|
||||
Uninitialized,
|
||||
Creating,
|
||||
Finished
|
||||
}
|
||||
|
||||
|
||||
public class Path
|
||||
{
|
||||
|
|
@ -66,8 +61,11 @@ namespace SceneManager
|
|||
{
|
||||
wp.RemoveSpeedZone();
|
||||
}
|
||||
if (SettingsMenu.mapBlips.Checked)
|
||||
{
|
||||
LowerWaypointBlipsOpacity();
|
||||
}
|
||||
}
|
||||
|
||||
public void EnablePath()
|
||||
{
|
||||
|
|
@ -79,8 +77,11 @@ namespace SceneManager
|
|||
wp.AddSpeedZone();
|
||||
}
|
||||
}
|
||||
if (SettingsMenu.mapBlips.Checked)
|
||||
{
|
||||
RestoreWaypointBlipsOpacity();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue