frame-of-mind/src/ui/prompter/prompt_button.tscn

41 lines
1.3 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://nvbffevo54eh"]
[ext_resource type="Script" uid="uid://d3gymb7uc8pkc" path="res://ui/prompter/prompt_button.gd" id="1_j4nun"]
[ext_resource type="Texture2D" uid="uid://b7breoabkyifr" path="res://addons/input_prompts/icons/xbox/A.png" id="2_3b7la"]
[ext_resource type="Script" uid="uid://bbs1u7ojno7xo" path="res://addons/input_prompts/action_prompt/action_prompt.gd" id="3_flaeu"]
[sub_resource type="InputEventKey" id="InputEventKey_j4nun"]
keycode = 4194309
unicode = 4194309
[sub_resource type="InputEventKey" id="InputEventKey_3b7la"]
keycode = 4194310
unicode = 4194310
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_flaeu"]
device = -1
pressed = true
[node name="PromptButton" type="Button"]
text = "ui_accept"
script = ExtResource("1_j4nun")
[node name="ActionPrompt" type="TextureRect" parent="."]
custom_minimum_size = Vector2(32, 32)
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = -90.0
offset_top = -50.0
offset_right = 10.0
offset_bottom = 50.0
grow_vertical = 2
size_flags_vertical = 3
texture = ExtResource("2_3b7la")
stretch_mode = 5
script = ExtResource("3_flaeu")
action = "ui_accept"
icon = 0
events = Array[InputEvent]([SubResource("InputEventKey_j4nun"), SubResource("InputEventKey_3b7la"), SubResource("InputEventJoypadButton_flaeu")])