From 6e9d6091b307f3712f1ad90d40a48dc67003f557 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Sun, 8 Feb 2026 00:49:08 -0700 Subject: [PATCH] Why'd I do this --- Assets/Scripts/DraggableUI.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/DraggableUI.cs b/Assets/Scripts/DraggableUI.cs index a1b2b96..1da1073 100644 --- a/Assets/Scripts/DraggableUI.cs +++ b/Assets/Scripts/DraggableUI.cs @@ -41,7 +41,7 @@ public class DraggableUI : MonoBehaviour, IDragHandler, IBeginDragHandler outlineSides.Add(go); } - public void Awake() + void Awake() { Instance = this; } @@ -51,13 +51,13 @@ public class DraggableUI : MonoBehaviour, IDragHandler, IBeginDragHandler CreateOutline(); } - public void OnEnable() + void OnEnable() { string key = "DraggedUI" + uiName; if (PlayerPrefs.HasKey(key) && TryParseVector3(PlayerPrefs.GetString(key), out Vector3 savedPos)) transform.localPosition = savedPos; } - public void Update() + void Update() { foreach (var side in outlineSides) side.SetActive(canDrag);