addon for remapping inputs
Diffstat (limited to 'Test.tscn')
| -rw-r--r-- | Test.tscn | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Test.tscn b/Test.tscn new file mode 100644 index 0000000..c2ecd59 --- /dev/null +++ b/Test.tscn @@ -0,0 +1,24 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://addons/remap/ActionLabel.gd" type="Script" id=1] +[ext_resource path="res://addons/remap/InteractiveActionLabel.gd" type="Script" id=2] + +[node name="Test" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 + +[node name="ActionLabel" type="HBoxContainer" parent="."] +anchor_right = 1.0 +script = ExtResource( 1 ) +_name = "lef" +action = "ui_left" + +[node name="InteractiveActionLabel" type="HBoxContainer" parent="."] +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +margin_left = 4.0 +margin_bottom = 15.0 +script = ExtResource( 2 ) +_name = "right" +action = "ui_right" |