get_in_container.tscn 1.0 KB

1234567891011121314151617181920212223242526272829
  1. [gd_scene load_steps=5 format=3 uid="uid://dl6fmkdlrcj53"]
  2. [ext_resource type="Texture2D" uid="uid://clcwaemf3uawa" path="res://addons/input_prompts/icons/xbox/y.png" id="1_l00e1"]
  3. [ext_resource type="Script" path="res://addons/input_prompts/action_prompt/action_prompt.gd" id="2_gfb15"]
  4. [sub_resource type="InputEventKey" id="InputEventKey_o4h0q"]
  5. device = -1
  6. physical_keycode = 4194309
  7. [sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_8de4e"]
  8. device = -1
  9. button_index = 3
  10. [node name="GetInPromptContainer" type="HBoxContainer"]
  11. [node name="GetInLabel" type="Label" parent="."]
  12. layout_mode = 2
  13. theme_override_font_sizes/font_size = 34
  14. text = "Get in vehicle"
  15. [node name="GetInActionPrompt" type="TextureRect" parent="."]
  16. custom_minimum_size = Vector2(100, 100)
  17. layout_mode = 2
  18. texture = ExtResource("1_l00e1")
  19. stretch_mode = 5
  20. script = ExtResource("2_gfb15")
  21. action = "get_in"
  22. icon = 0
  23. events = Array[InputEvent]([SubResource("InputEventKey_o4h0q"), SubResource("InputEventJoypadButton_8de4e")])