feat: update
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
extends SceneTree
|
||||
|
||||
func _init() -> void:
|
||||
var lib = load("res://assets/characters/animations/dasher-pack.res") as AnimationLibrary
|
||||
if not lib:
|
||||
print("Failed to load dasher-pack.res")
|
||||
quit(1)
|
||||
return
|
||||
|
||||
var anim_name = lib.get_animation_list()[0]
|
||||
var anim = lib.get_animation(anim_name)
|
||||
print("First animation: ", anim_name)
|
||||
for i in min(anim.get_track_count(), 5):
|
||||
print(" Track ", i, " path: ", anim.track_get_path(i))
|
||||
|
||||
quit(0)
|
||||
Reference in New Issue
Block a user