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

Extracted Draw3DWaypointOnPlayer method to PathMainMenu for when a new path is created. Removed referencs to DebugGraphics class

This commit is contained in:
Rich Dunne 2020-09-14 11:30:14 -06:00
parent b67d4bdd50
commit af2476bb2f
3 changed files with 43 additions and 89 deletions

View file

@ -44,7 +44,6 @@ namespace SceneManager
{
if(selectedItem == saveSettings)
{
// Write to .ini
Settings.UpdateSettings(threeDWaypoints.Checked, mapBlips.Checked, hints.Checked, speedUnits.SelectedItem, barrierPlacementDistance.Value);
Game.DisplayHelp($"Settings saved");
}
@ -52,14 +51,6 @@ namespace SceneManager
private static void SettingsMenu_OnCheckboxChange(UIMenu sender, UIMenuCheckboxItem checkboxItem, bool @checked)
{
if (checkboxItem == threeDWaypoints)
{
if (threeDWaypoints.Checked)
{
DebugGraphics.Draw3DWaypointOnPlayer();
}
}
if (checkboxItem == mapBlips)
{
if (mapBlips.Checked)