Created LoadingSimple Control
Created a simple Loading control to cover other UI controls, when something is loading.
This commit is contained in:
parent
c0825b4c28
commit
59bb3d323d
3 changed files with 34 additions and 0 deletions
17
UI/Controls/loading_simple.tscn
Normal file
17
UI/Controls/loading_simple.tscn
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[gd_scene format=3 uid="uid://cbr5aed24dvty"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bkhjets1gnsk2" path="res://UI/Controls/loading_simple.gd" id="1_86jie"]
|
||||
[ext_resource type="Texture2D" uid="uid://btyra86eut5se" path="res://UI/assets/loading.png" id="1_iuxiu"]
|
||||
|
||||
[node name="LoadingSimple" type="PanelContainer" unique_id=814067408]
|
||||
script = ExtResource("1_86jie")
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="." unique_id=897030486]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Pin" type="Control" parent="CenterContainer" unique_id=1268794672]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Spinner" type="Sprite2D" parent="CenterContainer/Pin" unique_id=903875911]
|
||||
unique_name_in_owner = true
|
||||
texture = ExtResource("1_iuxiu")
|
||||
Loading…
Add table
Add a link
Reference in a new issue