From fc629e45b66391652293a9b12bbc9294a2c74c21 Mon Sep 17 00:00:00 2001 From: Pasha Bibko <156938226+PashaBibko@users.noreply.github.com> Date: Tue, 20 Jan 2026 15:59:13 +0000 Subject: [PATCH] Removed uneeded close buttons --- Assets/Scripts/Windows/ImageWindow.cs | 20 ++++++++++--------- Assets/Scripts/Windows/TriviaWindow.cs | 3 +++ .../BurstAotSettings_StandaloneWindows.json | 8 +++++--- 3 files changed, 19 insertions(+), 12 deletions(-) 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