little editor refactor
This commit is contained in:
parent
dd154e3cd1
commit
9eba7d3069
10 changed files with 16 additions and 5 deletions
|
|
@ -0,0 +1,35 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://djb8ynxhnmo0t"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b8ccbjhhus7xk" path="res://addons/pvzadventure/scripts/UNI_GridItem.cs" id="1_e5mae"]
|
||||
[ext_resource type="Script" uid="uid://c3cgpwy1qaeww" path="res://addons/pvzadventure/scripts/packed_scene_preview_generator.gd" id="2_k7w8c"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jbknv"]
|
||||
bg_color = Color(0.18359, 0.18359, 0.18359, 1)
|
||||
border_color = Color(0.140447, 0.140447, 0.140447, 1)
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[node name="GridItem" type="PanelContainer"]
|
||||
clip_contents = true
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.172
|
||||
anchor_bottom = 0.212
|
||||
offset_right = -0.200005
|
||||
offset_bottom = 0.199997
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_jbknv")
|
||||
script = ExtResource("1_e5mae")
|
||||
|
||||
[node name="Texture" type="TextureRect" parent="."]
|
||||
layout_mode = 2
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
script = ExtResource("2_k7w8c")
|
||||
|
||||
[node name="Viewport" type="SubViewport" parent="Texture"]
|
||||
process_mode = 4
|
||||
transparent_bg = true
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="Texture/Viewport"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue