36 lines
1.5 KiB
Plaintext
Executable File
36 lines
1.5 KiB
Plaintext
Executable File
[gd_scene load_steps=2 format=3 uid="uid://animationactionnodetscn"]
|
|
[ext_resource type="Script" path="res://addons/cutscene_editor/editor/nodes/AnimationActionNode.gd" id="1_animation"]
|
|
[node name="AnimationActionNode" type="GraphNode"]
|
|
modulate = Color(0.8, 0.4, 0.8, 1)
|
|
custom_minimum_size = Vector2(150, 0)
|
|
title = "Animation"
|
|
slot/0/left_enabled = true
|
|
slot/0/left_type = 0
|
|
slot/0/left_color = Color(0, 0, 0, 1)
|
|
slot/0/right_enabled = true
|
|
slot/0/right_type = 0
|
|
slot/0/right_color = Color(0, 0, 0, 1)
|
|
slot/0/draw_stylebox = true
|
|
script = ExtResource("1_animation")
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
[node name="Character" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Character"
|
|
[node name="character" type="LineEdit" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
placeholder_text = "Character name"
|
|
[node name="Animation" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Animation"
|
|
[node name="animation_name" type="LineEdit" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
placeholder_text = "Animation name"
|
|
[node name="Loop" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Loop"
|
|
[node name="loop" type="CheckBox" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
[connection signal="text_changed" from="VBoxContainer/character" to="." method="_on_character_changed"]
|
|
[connection signal="text_changed" from="VBoxContainer/animation_name" to="." method="_on_animation_changed"]
|
|
[connection signal="toggled" from="VBoxContainer/loop" to="." method="_on_loop_toggled"] |