-
Notifications
You must be signed in to change notification settings - Fork 0
/
LevelButton.tscn
27 lines (21 loc) · 1.02 KB
/
LevelButton.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[gd_scene load_steps=4 format=3 uid="uid://njc0nj6g72rx"]
[ext_resource type="Script" path="res://LevelButton.gd" id="1_pidbn"]
[ext_resource type="Texture2D" uid="uid://do8w1121j7s7e" path="res://sprites/ui/locked.png" id="2_enij7"]
[ext_resource type="Texture2D" uid="uid://jrhju8bs4b23" path="res://sprites/ui/levels/0.png" id="3_yqbk3"]
[node name="LevelButton" type="PanelContainer"]
custom_minimum_size = Vector2(160, 120)
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("1_pidbn")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 2
[node name="Lock" type="TextureRect" parent="MarginContainer"]
layout_mode = 2
texture = ExtResource("2_enij7")
[node name="Label" type="TextureRect" parent="."]
layout_mode = 2
texture = ExtResource("3_yqbk3")
expand_mode = 3
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]