feat: update
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
extends SceneTree
|
||||
|
||||
func _init() -> void:
|
||||
var lib = load("res://assets/characters/animations/dasher-pack.res") as AnimationLibrary
|
||||
for anim_name in lib.get_animation_list():
|
||||
var anim = lib.get_animation(anim_name)
|
||||
print("=== %s (%d tracks) ===" % [anim_name, anim.get_track_count()])
|
||||
for i in anim.get_track_count():
|
||||
var type = anim.track_get_type(i)
|
||||
var path = anim.track_get_path(i)
|
||||
var type_str = ["VALUE","POSITION","ROTATION","SCALE"][type]
|
||||
print(" [%d] type=%s path=%s" % [i, type_str, path])
|
||||
quit()
|
||||
Reference in New Issue
Block a user