Add back AnimationPlayer.get_argument_options
This commit is contained in:
parent
98ddec4b8b
commit
a389eb4608
9 changed files with 64 additions and 0 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
[input]
|
||||
scene="res://completion/argument_options/argument_options.tscn"
|
||||
[output]
|
||||
include=[
|
||||
{"display": "\"bounce\""},
|
||||
]
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
@onready var anim := $AnimationPlayer
|
||||
|
||||
func test():
|
||||
anim.play(➡)
|
||||
pass
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[input]
|
||||
scene="res://completion/argument_options/argument_options.tscn"
|
||||
[output]
|
||||
include=[
|
||||
{"display": "\"bounce\""},
|
||||
]
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
@onready var anim: AnimationPlayer = $AnimationPlayer
|
||||
|
||||
func test():
|
||||
anim.play(➡)
|
||||
pass
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[input]
|
||||
scene="res://completion/argument_options/argument_options.tscn"
|
||||
[output]
|
||||
include=[
|
||||
{"display": "\"bounce\""},
|
||||
]
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
@onready var anim = $AnimationPlayer
|
||||
|
||||
func test():
|
||||
anim.play(➡)
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue