improvement
This commit is contained in:
26
addons/cutscene_editor/editor/nodes/WaitActionNode.tscn
Normal file
26
addons/cutscene_editor/editor/nodes/WaitActionNode.tscn
Normal file
@@ -0,0 +1,26 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://waitnodetscn"]
|
||||
[ext_resource type="Script" path="res://addons/cutscene_editor/editor/nodes/WaitActionNode.gd" id="1_wait"]
|
||||
[node name="WaitActionNode" type="GraphNode"]
|
||||
modulate = Color(0.7, 0.7, 0.7, 1)
|
||||
custom_minimum_size = Vector2(150, 0)
|
||||
title = "Wait"
|
||||
slot/0/left_enabled = true
|
||||
slot/0/left_type = 0
|
||||
slot/0/left_color = Color(0, 0, 0, 1)
|
||||
slot/0/left_icon = null
|
||||
slot/0/right_enabled = true
|
||||
slot/0/right_type = 0
|
||||
slot/0/right_color = Color(0, 0, 0, 1)
|
||||
slot/0/right_icon = null
|
||||
slot/0/draw_stylebox = true
|
||||
script = ExtResource("1_wait")
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
[node name="Duration" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Duration"
|
||||
[node name="duration" type="LineEdit" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "1.0"
|
||||
placeholder_text = "Duration in seconds"
|
||||
[connection signal="text_changed" from="VBoxContainer/duration" to="." method="_on_duration_changed"]
|
||||
Reference in New Issue
Block a user