Parse fighter animation manifest keys
This commit is contained in:
+3
-1
@@ -24,6 +24,8 @@ use std::{
|
|||||||
time::{SystemTime, UNIX_EPOCH},
|
time::{SystemTime, UNIX_EPOCH},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
use crate::fighter::animation::AnimKind;
|
||||||
|
|
||||||
const EXPORT_SCRIPT: &str = include_str!("blend_asset/export.py");
|
const EXPORT_SCRIPT: &str = include_str!("blend_asset/export.py");
|
||||||
|
|
||||||
#[derive(Asset, TypePath)]
|
#[derive(Asset, TypePath)]
|
||||||
@@ -41,7 +43,7 @@ struct ExportManifest {
|
|||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
struct AnimationManifest {
|
struct AnimationManifest {
|
||||||
animations: HashMap<String, String>,
|
animations: HashMap<AnimKind, String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl AssetLoader for BlendSourceLoader {
|
impl AssetLoader for BlendSourceLoader {
|
||||||
|
|||||||
Reference in New Issue
Block a user