Add back AnimationPlayer.get_argument_options

This commit is contained in:
HolonProduction
2024-11-15 13:06:59 +01:00
parent 98ddec4b8b
commit a389eb4608
9 changed files with 64 additions and 0 deletions

View File

@@ -1,3 +1,16 @@
[gd_scene load_steps=1 format=3 uid="uid://dl28pdkxcjvym"]
[sub_resource type="Animation" id="Animation_d1pub"]
resource_name = "bounce"
[sub_resource type="AnimationLibrary" id="AnimationLibrary_gs7mj"]
_data = {
"bounce": SubResource("Animation_d1pub")
}
[node name="GetNode" type="Node"]
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_gs7mj")
}

View File

@@ -0,0 +1,6 @@
[input]
scene="res://completion/argument_options/argument_options.tscn"
[output]
include=[
{"display": "\"bounce\""},
]

View File

@@ -0,0 +1,5 @@
@onready var anim := $AnimationPlayer
func test():
anim.play()
pass

View File

@@ -0,0 +1,6 @@
[input]
scene="res://completion/argument_options/argument_options.tscn"
[output]
include=[
{"display": "\"bounce\""},
]

View File

@@ -0,0 +1,5 @@
@onready var anim: AnimationPlayer = $AnimationPlayer
func test():
anim.play()
pass

View File

@@ -0,0 +1,6 @@
[input]
scene="res://completion/argument_options/argument_options.tscn"
[output]
include=[
{"display": "\"bounce\""},
]

View File

@@ -0,0 +1,5 @@
@onready var anim = $AnimationPlayer
func test():
anim.play()
pass