From 11a8e5732facdb232772baa0cec7eef924b82db2 Mon Sep 17 00:00:00 2001 From: FreezeDriedMangoes Date: Fri, 13 May 2022 11:08:16 -0400 Subject: [PATCH] feat: moved menu down so it doesn't overlap with the Unity Explorer menu --- NewHorizons/Utility/DebugMenu.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/NewHorizons/Utility/DebugMenu.cs b/NewHorizons/Utility/DebugMenu.cs index 08c73ae2..8b0b8e03 100644 --- a/NewHorizons/Utility/DebugMenu.cs +++ b/NewHorizons/Utility/DebugMenu.cs @@ -44,7 +44,7 @@ namespace NewHorizons.Utility if (!menuOpen) return; if (!Main.Debug) return; - Vector2 menuPosition = Vector2.zero; // new Vector2(Screen.width - EditorMenuSize.x - 10, 10); + Vector2 menuPosition = new Vector2(10, 40); //TODO: add gui for stuff https://github.com/Bwc9876/OW-SaveEditor/blob/master/SaveEditor/SaveEditor.cs // https://docs.unity3d.com/ScriptReference/GUI.TextField.html @@ -73,17 +73,12 @@ namespace NewHorizons.Utility GUILayout.EndScrollView(); - - // TODO: maintain list of recently placed objects here // TODO: field to provide name of mod to load configs from, plus button to load those into the PropPlaecr (make sure not to load more than once, once the button has been pushed, disable it) // TODO: add a warning that the button cannot be pushed more than once // TODO: put a text field here to print all the configs in // TODO: put a button here to save configs to file - GUILayout.Label("*: Restart Required"); - GUILayout.Space(20); - GUILayout.Label("*: Restart Required"); GUILayout.EndArea(); }