2d: support animating from ResHandle<AtlasAnimations>, not just non-asset handles
This commit is contained in:
parent
af2d7b4980
commit
05ed1f1135
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue