From 395c25b1fbe51f42decf402f97e51eabcc8c0a77 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 18 Jun 2023 16:43:22 +0200 Subject: Godot v3 -> v4 --- UI/Menu/MenuButton.tscn | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'UI/Menu/MenuButton.tscn') diff --git a/UI/Menu/MenuButton.tscn b/UI/Menu/MenuButton.tscn index b5626fb..763420c 100644 --- a/UI/Menu/MenuButton.tscn +++ b/UI/Menu/MenuButton.tscn @@ -1,15 +1,14 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=2 format=3 uid="uid://b0fuyoa5jbxn0"] -[ext_resource path="res://UI/Menu/MenuButton.gd" type="Script" id=1] +[ext_resource type="Script" path="res://UI/Menu/MenuButton.gd" id="1"] [node name="MenuButton" type="Button"] +anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 -margin_right = -976.0 -margin_bottom = -580.0 +offset_right = -976.0 +offset_bottom = -580.0 text = "Menu" -script = ExtResource( 1 ) -__meta__ = { -"_edit_use_anchors_": false -} +script = ExtResource("1") + [connection signal="pressed" from="." to="." method="_on_MenuButton_pressed"] -- cgit v1.2.3