mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-29 23:12:28 +08:00
feat: 添加Godockly可视化Mod框架基础文件结构
添加Godockly插件核心文件,包括编辑器插件脚本、积木定义类、编辑器UI组件和样式资源
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
[gd_scene format=3 uid="uid://c71l67qe8hqsb"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2bxqf"]
|
||||
content_margin_left = 0.0
|
||||
content_margin_top = 0.0
|
||||
content_margin_right = 0.0
|
||||
content_margin_bottom = 0.0
|
||||
bg_color = Color(0.1, 0.1, 0.1, 0.6)
|
||||
corner_radius_top_left = 3
|
||||
corner_radius_top_right = 3
|
||||
corner_radius_bottom_right = 3
|
||||
corner_radius_bottom_left = 3
|
||||
corner_detail = 5
|
||||
|
||||
[node name="GodocklyBlock" type="Control" unique_id=2090065521]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="box" type="PanelContainer" parent="." unique_id=1037155878]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_2bxqf")
|
||||
|
||||
[node name="content" type="HBoxContainer" parent="box" unique_id=1244641889]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
@@ -0,0 +1,17 @@
|
||||
[gd_scene format=3 uid="uid://ea3x0pyrc4dw"]
|
||||
|
||||
[node name="GodocklyCategory" type="Control" unique_id=1090402117]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="box" type="VBoxContainer" parent="." unique_id=1433870590]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
@@ -0,0 +1,45 @@
|
||||
[gd_scene format=3 uid="uid://cnvkwswgc2g7x"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://da6xdw3yqxy6l" path="res://addons/godockly/styles/godockly.tres" id="1_8m0fh"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8m0fh"]
|
||||
content_margin_left = 0.0
|
||||
content_margin_top = 0.0
|
||||
content_margin_right = 0.0
|
||||
content_margin_bottom = 0.0
|
||||
bg_color = Color(0.1, 0.1, 0.1, 0.6)
|
||||
corner_radius_top_left = 3
|
||||
corner_radius_top_right = 3
|
||||
corner_radius_bottom_right = 3
|
||||
corner_radius_bottom_left = 3
|
||||
corner_detail = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0xipn"]
|
||||
content_margin_left = 10.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_right = 10.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color(0, 0, 0, 0.8)
|
||||
|
||||
[node name="GodocklyEditor" type="Control" unique_id=320412377]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="background" type="PanelContainer" parent="." unique_id=1789288835]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("1_8m0fh")
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_8m0fh")
|
||||
|
||||
[node name="categories" type="PanelContainer" parent="background" unique_id=1710712250]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_0xipn")
|
||||
Reference in New Issue
Block a user