1 Star 3 Fork 0

Apprentice/ItemDataManager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Main.tscn 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
Apprentice 提交于 2022-02-20 10:27 . 完善一些逻辑
[gd_scene load_steps=6 format=2]
[ext_resource path="res://ItemManager.gd" type="Script" id=1]
[ext_resource path="res://Main.gd" type="Script" id=2]
[ext_resource path="res://Alibaba-PuHuiTi-Regular.ttf" type="DynamicFontData" id=3]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 3 )
[sub_resource type="Theme" id=2]
default_font = SubResource( 1 )
[node name="Main" type="Node2D"]
script = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true
}
[node name="ItemManager" type="Node" parent="."]
script = ExtResource( 1 )
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Item" type="Control" parent="CanvasLayer"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = SubResource( 2 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="ItemGridContainer" type="GridContainer" parent="CanvasLayer/Item"]
margin_right = 427.0
margin_bottom = 266.0
columns = 5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Remove" type="Button" parent="CanvasLayer/Item"]
margin_left = 79.0
margin_top = 269.0
margin_right = 208.0
margin_bottom = 322.0
text = "Remove First"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="item_added" from="ItemManager" to="." method="_on_ItemManager_item_added"]
[connection signal="item_changed" from="ItemManager" to="." method="_on_ItemManager_item_changed"]
[connection signal="item_removed" from="ItemManager" to="." method="_on_ItemManager_item_removed"]
[connection signal="pressed" from="CanvasLayer/Item/Remove" to="." method="_on_Remove_pressed"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
其他
1
https://gitee.com/LaoDie1/item-data-manager.git
git@gitee.com:LaoDie1/item-data-manager.git
LaoDie1
item-data-manager
ItemDataManager
master

搜索帮助