10 lines
228 B
GDScript
10 lines
228 B
GDScript
extends AnimationPlayer
|
|
|
|
@export var startAnimation: String
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
play(startAnimation)
|
|
advance(randf_range(0, get_animation(startAnimation).length))
|
|
|