diff --git a/CrosshairMod/Interface.cs b/CrosshairMod/Interface.cs index 53b71c7..82a207f 100644 --- a/CrosshairMod/Interface.cs +++ b/CrosshairMod/Interface.cs @@ -100,7 +100,9 @@ namespace CrosshairMod // Renders the Panel, but also handles Updating the buttons private static void RenderFunc(int windowID) { - + // Make Window draggable + GUI.DragWindow(new Rect(0, 0, 10000, 20)); + // Draw the Length and Thickness Labels GUI.Label(new Rect(60, 70, 120, 30), "Length: " + Settings.GetValue("crosshairLength")); GUI.Label(new Rect(60, 110, 120, 30), "Thickness: " + Settings.GetValue("crosshairThickness")); diff --git a/CrosshairMod/Main.cs b/CrosshairMod/Main.cs index d0a81da..a73c6b3 100644 --- a/CrosshairMod/Main.cs +++ b/CrosshairMod/Main.cs @@ -22,7 +22,7 @@ namespace CrosshairMod * handling initializing and updating the components * of the crosshair mod. */ - public class Main : MonoBehaviour + public class CrosshairMod : MonoBehaviour { // Define Hotkeys for Menu and Crosshair Toggle private char MENU_OPEN_KEY = 'H'; diff --git a/CrosshairMod/bin/Release/CrosshairMod.dll b/CrosshairMod/bin/Release/CrosshairMod.dll index 7175232..db70273 100644 Binary files a/CrosshairMod/bin/Release/CrosshairMod.dll and b/CrosshairMod/bin/Release/CrosshairMod.dll differ