mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add back AnimationPlayer.get_argument_options
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user