From 5edad1fbe794e7df32fee7ac180a9585ffc12db8 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Sun, 8 Feb 2026 00:47:27 -0700 Subject: [PATCH] Make DraggableUI use button theme --- Assets/Scripts/DraggableUI.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/DraggableUI.cs b/Assets/Scripts/DraggableUI.cs index 2131357..a1b2b96 100644 --- a/Assets/Scripts/DraggableUI.cs +++ b/Assets/Scripts/DraggableUI.cs @@ -14,7 +14,8 @@ public class DraggableUI : MonoBehaviour, IDragHandler, IBeginDragHandler void CreateOutline() { - var borderColor = Color.cyan; + var color = BazookaManager.Instance.GetColorSettingButton(); + Color borderColor = new(((float)color[0]) / 255f, ((float)color[1]) / 255f, ((float)color[2]) / 255f); float thickness = 2f; CreateSide("Top", new Vector2(0, 1), new Vector2(1, 1), new Vector2(0, thickness), borderColor); @@ -43,6 +44,10 @@ public class DraggableUI : MonoBehaviour, IDragHandler, IBeginDragHandler public void Awake() { Instance = this; + } + + void Start() + { CreateOutline(); }