Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / BottomTips.tscn
  1. [gd_scene load_steps=5 format=3 uid="uid://dxmjm1pgctyid"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/bottomTips/BottomTipsPanel.cs" id="1_c63vs"]
  4. [ext_resource type="Texture2D" uid="uid://bls55gj8h3mgv" path="res://resource/sprite/prop/buff/BuffProp0001.png" id="2_gaykt"]
  5. [ext_resource type="Material" uid="uid://cces3bhds7jyi" path="res://resource/material/Blend.tres" id="2_syy07"]
  6.  
  7. [sub_resource type="LabelSettings" id="LabelSettings_xtn1u"]
  8. line_spacing = 8.0
  9. font_size = 32
  10.  
  11. [node name="BottomTips" type="Control"]
  12. layout_mode = 3
  13. anchors_preset = 15
  14. anchor_right = 1.0
  15. anchor_bottom = 1.0
  16. grow_horizontal = 2
  17. grow_vertical = 2
  18. mouse_filter = 2
  19. script = ExtResource("1_c63vs")
  20. Layer = 3
  21. metadata/_edit_vertical_guides_ = [960.0]
  22.  
  23. [node name="Panel" type="PanelContainer" parent="."]
  24. layout_mode = 1
  25. anchors_preset = 7
  26. anchor_left = 0.5
  27. anchor_top = 1.0
  28. anchor_right = 0.5
  29. anchor_bottom = 1.0
  30. offset_left = -134.5
  31. offset_top = 38.0
  32. offset_right = 141.5
  33. offset_bottom = 122.0
  34. grow_horizontal = 2
  35. grow_vertical = 0
  36. mouse_filter = 2
  37.  
  38. [node name="MarginContainer" type="MarginContainer" parent="Panel"]
  39. layout_mode = 2
  40. size_flags_vertical = 8
  41. mouse_filter = 2
  42. theme_override_constants/margin_left = 30
  43. theme_override_constants/margin_top = 10
  44. theme_override_constants/margin_right = 30
  45. theme_override_constants/margin_bottom = 10
  46.  
  47. [node name="CenterContainer" type="CenterContainer" parent="Panel/MarginContainer"]
  48. layout_mode = 2
  49. mouse_filter = 2
  50.  
  51. [node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/CenterContainer"]
  52. layout_mode = 2
  53. size_flags_vertical = 4
  54. mouse_filter = 2
  55. theme_override_constants/separation = 16
  56.  
  57. [node name="AspectRatioContainer" type="AspectRatioContainer" parent="Panel/MarginContainer/CenterContainer/HBoxContainer"]
  58. custom_minimum_size = Vector2(64, 64)
  59. layout_mode = 2
  60.  
  61. [node name="TextureRect" type="TextureRect" parent="Panel/MarginContainer/CenterContainer/HBoxContainer/AspectRatioContainer"]
  62. material = ExtResource("2_syy07")
  63. custom_minimum_size = Vector2(16, 16)
  64. layout_mode = 2
  65. mouse_filter = 2
  66. texture = ExtResource("2_gaykt")
  67.  
  68. [node name="Label" type="Label" parent="Panel/MarginContainer/CenterContainer/HBoxContainer"]
  69. layout_mode = 2
  70. text = "提示内容"
  71. label_settings = SubResource("LabelSettings_xtn1u")
  72. horizontal_alignment = 1
  73. vertical_alignment = 1