From 5a9278e8aa678df784320463da400b04eff907ff Mon Sep 17 00:00:00 2001 From: msk <15199219+muskit@users.noreply.github.com> Date: Fri, 29 Sep 2023 18:05:20 -0700 Subject: [PATCH] oops (attach NinePatchRects to script) --- Things/TunnelObjects/Notes/NoteChain.tscn | 3 ++- Things/TunnelObjects/Notes/NoteHold.tscn | 3 ++- Things/TunnelObjects/Notes/NoteSnapIn.tscn | 3 ++- Things/TunnelObjects/Notes/NoteSnapOut.tscn | 3 ++- Things/TunnelObjects/Notes/NoteSwipeCCW.tscn | 3 ++- Things/TunnelObjects/Notes/NoteSwipeCW.tscn | 3 ++- Things/TunnelObjects/Notes/NoteTouch.tscn | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Things/TunnelObjects/Notes/NoteChain.tscn b/Things/TunnelObjects/Notes/NoteChain.tscn index 1f18ed2..c523722 100644 --- a/Things/TunnelObjects/Notes/NoteChain.tscn +++ b/Things/TunnelObjects/Notes/NoteChain.tscn @@ -3,12 +3,13 @@ [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_o1r8c"] [ext_resource type="Texture2D" uid="uid://cn8esiei5u0hf" path="res://_Assets/Textures/Notes/Chain.png" id="2_i26u3"] -[node name="NoteChain" type="Control"] +[node name="NoteChain" type="Control" node_paths=PackedStringArray("noteBase")] layout_mode = 3 anchors_preset = 0 offset_right = 200.0 offset_bottom = 24.0 script = ExtResource("1_o1r8c") +noteBase = NodePath("NinePatchRect") [node name="NinePatchRect" type="NinePatchRect" parent="."] layout_mode = 1 diff --git a/Things/TunnelObjects/Notes/NoteHold.tscn b/Things/TunnelObjects/Notes/NoteHold.tscn index 169a90a..d0262c9 100644 --- a/Things/TunnelObjects/Notes/NoteHold.tscn +++ b/Things/TunnelObjects/Notes/NoteHold.tscn @@ -3,12 +3,13 @@ [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNoteHold.cs" id="1_kd6u4"] [ext_resource type="Texture2D" uid="uid://xmb5ybj1oor4" path="res://_Assets/Textures/Notes/Hold.png" id="2_ovp6m"] -[node name="NoteHold" type="Control"] +[node name="NoteHold" type="Control" node_paths=PackedStringArray("noteBase")] layout_mode = 3 anchors_preset = 0 offset_right = 200.0 offset_bottom = 24.0 script = ExtResource("1_kd6u4") +noteBase = NodePath("NinePatchRect") [node name="NinePatchRect" type="NinePatchRect" parent="."] layout_mode = 1 diff --git a/Things/TunnelObjects/Notes/NoteSnapIn.tscn b/Things/TunnelObjects/Notes/NoteSnapIn.tscn index f5d0e0e..c77d169 100644 --- a/Things/TunnelObjects/Notes/NoteSnapIn.tscn +++ b/Things/TunnelObjects/Notes/NoteSnapIn.tscn @@ -3,12 +3,13 @@ [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_lmk57"] [ext_resource type="Texture2D" uid="uid://cr2a3fc5nu7js" path="res://_Assets/Textures/Notes/SnapIn.png" id="2_ipqj7"] -[node name="NoteSnapIn" type="Control"] +[node name="NoteSnapIn" type="Control" node_paths=PackedStringArray("noteBase")] layout_mode = 3 anchors_preset = 0 offset_right = 200.0 offset_bottom = 24.0 script = ExtResource("1_lmk57") +noteBase = NodePath("NinePatchRect") [node name="NinePatchRect" type="NinePatchRect" parent="."] layout_mode = 1 diff --git a/Things/TunnelObjects/Notes/NoteSnapOut.tscn b/Things/TunnelObjects/Notes/NoteSnapOut.tscn index 87565e0..8a0b1a8 100644 --- a/Things/TunnelObjects/Notes/NoteSnapOut.tscn +++ b/Things/TunnelObjects/Notes/NoteSnapOut.tscn @@ -3,12 +3,13 @@ [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_mhn02"] [ext_resource type="Texture2D" uid="uid://cdui66l8fg6rg" path="res://_Assets/Textures/Notes/SnapOut.png" id="2_6llgl"] -[node name="NoteSnapOut" type="Control"] +[node name="NoteSnapOut" type="Control" node_paths=PackedStringArray("noteBase")] layout_mode = 3 anchors_preset = 0 offset_right = 200.0 offset_bottom = 24.0 script = ExtResource("1_mhn02") +noteBase = NodePath("NinePatchRect") [node name="NinePatchRect" type="NinePatchRect" parent="."] layout_mode = 1 diff --git a/Things/TunnelObjects/Notes/NoteSwipeCCW.tscn b/Things/TunnelObjects/Notes/NoteSwipeCCW.tscn index 79d4e80..85f3246 100644 --- a/Things/TunnelObjects/Notes/NoteSwipeCCW.tscn +++ b/Things/TunnelObjects/Notes/NoteSwipeCCW.tscn @@ -3,12 +3,13 @@ [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_e4xxi"] [ext_resource type="Texture2D" uid="uid://cfm2r0ha81eum" path="res://_Assets/Textures/Notes/SwipeCCW.png" id="2_yb0qd"] -[node name="NoteSwipeCCW" type="Control"] +[node name="NoteSwipeCCW" type="Control" node_paths=PackedStringArray("noteBase")] layout_mode = 3 anchors_preset = 0 offset_right = 200.0 offset_bottom = 24.0 script = ExtResource("1_e4xxi") +noteBase = NodePath("NinePatchRect") [node name="NinePatchRect" type="NinePatchRect" parent="."] layout_mode = 1 diff --git a/Things/TunnelObjects/Notes/NoteSwipeCW.tscn b/Things/TunnelObjects/Notes/NoteSwipeCW.tscn index 58979d9..ce48a61 100644 --- a/Things/TunnelObjects/Notes/NoteSwipeCW.tscn +++ b/Things/TunnelObjects/Notes/NoteSwipeCW.tscn @@ -3,12 +3,13 @@ [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_aasqx"] [ext_resource type="Texture2D" uid="uid://rrwjokjt4jb8" path="res://_Assets/Textures/Notes/SwipeCW.png" id="2_ttxox"] -[node name="NoteSwipeCW" type="Control"] +[node name="NoteSwipeCW" type="Control" node_paths=PackedStringArray("noteBase")] layout_mode = 3 anchors_preset = 0 offset_right = 200.0 offset_bottom = 24.0 script = ExtResource("1_aasqx") +noteBase = NodePath("NinePatchRect") [node name="NinePatchRect" type="NinePatchRect" parent="."] layout_mode = 1 diff --git a/Things/TunnelObjects/Notes/NoteTouch.tscn b/Things/TunnelObjects/Notes/NoteTouch.tscn index 10ed9d2..4259b5c 100644 --- a/Things/TunnelObjects/Notes/NoteTouch.tscn +++ b/Things/TunnelObjects/Notes/NoteTouch.tscn @@ -3,12 +3,13 @@ [ext_resource type="Texture2D" uid="uid://cnsbqiharp0jh" path="res://_Assets/Textures/Notes/Touch.png" id="1_hnm2k"] [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_p334j"] -[node name="NoteTouch" type="Control"] +[node name="NoteTouch" type="Control" node_paths=PackedStringArray("noteBase")] layout_mode = 3 anchors_preset = 0 offset_right = 200.0 offset_bottom = 24.0 script = ExtResource("1_p334j") +noteBase = NodePath("NinePatchRect") [node name="NinePatchRect" type="NinePatchRect" parent="."] layout_mode = 1