mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-22 15:44:21 +00:00
Give a class_name to GameUI
This commit is contained in:
parent
c1ac869d1b
commit
4cd407dd1e
2 changed files with 5 additions and 1 deletions
2
interface/game_ui.gd
Normal file
2
interface/game_ui.gd
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
extends VBoxContainer
|
||||||
|
class_name GameUI
|
|
@ -1,6 +1,7 @@
|
||||||
[gd_scene load_steps=2 format=3 uid="uid://bo5unrhqpoyim"]
|
[gd_scene load_steps=3 format=3 uid="uid://bo5unrhqpoyim"]
|
||||||
|
|
||||||
[ext_resource type="Theme" uid="uid://ba5utvfhnxa5i" path="res://interface/interface_theme.tres" id="1_ppf8y"]
|
[ext_resource type="Theme" uid="uid://ba5utvfhnxa5i" path="res://interface/interface_theme.tres" id="1_ppf8y"]
|
||||||
|
[ext_resource type="Script" path="res://interface/game_ui.gd" id="2_33nqa"]
|
||||||
|
|
||||||
[node name="GameUI" type="VBoxContainer"]
|
[node name="GameUI" type="VBoxContainer"]
|
||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
|
@ -9,6 +10,7 @@ anchor_bottom = 1.0
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
theme = ExtResource("1_ppf8y")
|
theme = ExtResource("1_ppf8y")
|
||||||
|
script = ExtResource("2_33nqa")
|
||||||
|
|
||||||
[node name="UpperButtons" type="HBoxContainer" parent="."]
|
[node name="UpperButtons" type="HBoxContainer" parent="."]
|
||||||
custom_minimum_size = Vector2(0, 54)
|
custom_minimum_size = Vector2(0, 54)
|
||||||
|
|
Loading…
Reference in a new issue