2d: support animating from ResHandle<AtlasAnimations>, not just non-asset handles

This commit is contained in:
SeanOMik 2024-11-24 11:15:34 -05:00 committed by SeanOMik
parent af2d7b4980
commit 05ed1f1135
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ fn setup_scene_plugin(app: &mut App) {
("soldier_run", 0.1, 9..=16),
]);
let run_anim = animations.get_active("soldier_run");
let animations = resman.store_new(animations);
drop(resman);