Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / MapEditorMapLayer.tscn
@小李xl 小李xl on 2 Aug 2023 1 KB 设计地图标记页面
  1. [gd_scene load_steps=4 format=3 uid="uid://bb2ekkpxifd7g"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/mapEditorMapLayer/MapEditorMapLayerPanel.cs" id="1_3j05m"]
  4. [ext_resource type="Texture2D" uid="uid://dmm8jw06bhffh" path="res://resource/sprite/ui/commonIcon/Lock.png" id="2_pfhyj"]
  5. [ext_resource type="Texture2D" uid="uid://dqvg18aacx6db" path="res://resource/sprite/ui/commonIcon/Visible.png" id="3_rqjh4"]
  6.  
  7. [node name="MapEditorMapLayer" type="Control"]
  8. layout_mode = 3
  9. anchors_preset = 15
  10. anchor_right = 1.0
  11. anchor_bottom = 1.0
  12. script = ExtResource("1_3j05m")
  13.  
  14. [node name="VBoxContainer" type="VBoxContainer" parent="."]
  15. layout_mode = 1
  16. anchors_preset = 15
  17. anchor_right = 1.0
  18. anchor_bottom = 1.0
  19. grow_horizontal = 2
  20. grow_vertical = 2
  21.  
  22. [node name="LayerLabel" type="Label" parent="VBoxContainer"]
  23. layout_mode = 2
  24. text = "地图层级:"
  25.  
  26. [node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
  27. layout_mode = 2
  28. size_flags_vertical = 3
  29.  
  30. [node name="LayerButton" type="Button" parent="VBoxContainer/ScrollContainer"]
  31. custom_minimum_size = Vector2(0, 70)
  32. layout_mode = 2
  33. size_flags_horizontal = 3
  34. text = "layer1"
  35. icon = ExtResource("2_pfhyj")
  36. alignment = 0
  37.  
  38. [node name="VisibleButton" type="TextureButton" parent="VBoxContainer/ScrollContainer/LayerButton"]
  39. layout_mode = 1
  40. anchors_preset = 11
  41. anchor_left = 1.0
  42. anchor_right = 1.0
  43. anchor_bottom = 1.0
  44. offset_left = -55.0
  45. grow_horizontal = 0
  46. grow_vertical = 2
  47. texture_normal = ExtResource("3_rqjh4")
  48. stretch_mode = 3