diff --git a/Assets/Scripts/Windows/ImageWindow.cs b/Assets/Scripts/Windows/ImageWindow.cs index 4aefd29..f1b0668 100644 --- a/Assets/Scripts/Windows/ImageWindow.cs +++ b/Assets/Scripts/Windows/ImageWindow.cs @@ -17,6 +17,9 @@ namespace InterfaceOff protected override void OnWindowInstantiation() { + /* Destroys the Window Close button to stop accidental clicking */ + Destroy(Components.CloseButtonRectTransform.gameObject); + /* Lets the player know what to do via text */ Components.InfoText.text = "Rotate"; @@ -40,8 +43,8 @@ namespace InterfaceOff Button button = go.GetComponent