Add NotificationManager and NotificationLabel for age advancement notifications; refactor scripts into Components directory
This commit is contained in:
10
Scenes/UI/buff_button.tscn
Normal file
10
Scenes/UI/buff_button.tscn
Normal file
@@ -0,0 +1,10 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://b417dl07c13uc"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://chnf0t5xdosys" path="res://Scripts/ActiveBuffUi.cs" id="1_7ujuu"]
|
||||
|
||||
[node name="BuffButton" type="Button"]
|
||||
focus_mode = 0
|
||||
disabled = true
|
||||
button_mask = 0
|
||||
text = "Effect"
|
||||
script = ExtResource("1_7ujuu")
|
9
Scenes/UI/miracle_button.tscn
Normal file
9
Scenes/UI/miracle_button.tscn
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://rj1fsdlhju5y"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ctjmwgucwh3le" path="res://Scenes/Main/MiracleButton.cs" id="1_sxcu0"]
|
||||
|
||||
[node name="MiracleButton" type="Button"]
|
||||
custom_minimum_size = Vector2(128, 64)
|
||||
offset_right = 8.0
|
||||
offset_bottom = 8.0
|
||||
script = ExtResource("1_sxcu0")
|
10
Scenes/UI/notification_label.tscn
Normal file
10
Scenes/UI/notification_label.tscn
Normal file
@@ -0,0 +1,10 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://crpf0llofg0sc"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://drx8lqcjq5khj" path="res://Scripts/NotificationLabel.cs" id="1_x4sn4"]
|
||||
|
||||
[node name="NotificationLabel" type="Label"]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 23.0
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
script = ExtResource("1_x4sn4")
|
Reference in New Issue
Block a user