Refactor UI components to inherit from Control and update node paths for consistency
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bg76mtpcmfm2j"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://q32rtephu1t1" path="res://scripts/ui/charge_progress_bar.gd" id="1_014ut"]
|
||||
[ext_resource type="Script" uid="uid://dev2q1228otm2" path="res://scripts/UI/ChargeProgressBar.cs" id="1_014ut"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_arbva"]
|
||||
bg_color = Color(0, 0, 0, 1)
|
||||
@@ -8,10 +8,10 @@ bg_color = Color(0, 0, 0, 1)
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_014ut"]
|
||||
bg_color = Color(0.921569, 0.827451, 0.12549, 1)
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" node_paths=PackedStringArray("progress_bar")]
|
||||
[node name="ProgressBar" type="ProgressBar" node_paths=PackedStringArray("ProgressBar")]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 10.0
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_arbva")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_014ut")
|
||||
script = ExtResource("1_014ut")
|
||||
progress_bar = NodePath(".")
|
||||
ProgressBar = NodePath(".")
|
||||
|
Reference in New Issue
Block a user