add props
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://c0i5e2dj11d8c"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://c0i5e2dj11d8c"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bt0okj2rie8qf" path="res://scenes/ui/pause/PauseMain.tscn" id="1_33nyv"]
|
||||
[ext_resource type="Script" uid="uid://cgvf34t5qgwbm" path="res://scripts/ui/pause/PauseMenu.gd" id="1_82qxy"]
|
||||
[ext_resource type="PackedScene" uid="uid://qgk5trrh6dfd" path="res://scenes/ui/pause/PauseOptions.tscn" id="2_3djnw"]
|
||||
|
||||
[node name="PauseMenu" type="Control" node_paths=PackedStringArray("MAIN")]
|
||||
[node name="PauseMenu" type="Control" node_paths=PackedStringArray("MAIN", "OPTIONS")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -12,6 +13,10 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_82qxy")
|
||||
MAIN = NodePath("PauseMain")
|
||||
OPTIONS = NodePath("PauseOptions")
|
||||
|
||||
[node name="PauseOptions" parent="." instance=ExtResource("2_3djnw")]
|
||||
layout_mode = 1
|
||||
|
||||
[node name="PauseMain" parent="." instance=ExtResource("1_33nyv")]
|
||||
layout_mode = 1
|
||||
|
18
scenes/ui/pause/PauseOptions.tscn
Normal file
18
scenes/ui/pause/PauseOptions.tscn
Normal file
@@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://qgk5trrh6dfd"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dno7duijupjj6" path="res://scripts/ui/pause/PauseOptions.gd" id="1_p5lt3"]
|
||||
|
||||
[node name="PauseOptions" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_p5lt3")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 12.0
|
||||
text = "Options"
|
Reference in New Issue
Block a user