2d: support animating from ResHandle<AtlasAnimations>, not just non-asset handles
This commit is contained in:
parent
558f027b19
commit
cb4cf9a48f
|
@ -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