Improve integration with Live2D assets
- Added container-independent method for searching AnimationClip assets (However, it's not really universal, so it can't completely replace the container-dependent method)
This commit is contained in:
@@ -74,6 +74,11 @@ namespace AssetStudio
|
||||
filteredAssetTypesList.Add(ClassIDType.Texture2D);
|
||||
filteredAssetTypesList.Add(ClassIDType.SpriteAtlas);
|
||||
}
|
||||
if (classIDTypes.Contains(ClassIDType.Animator))
|
||||
{
|
||||
filteredAssetTypesList.Add(ClassIDType.AnimatorController);
|
||||
filteredAssetTypesList.Add(ClassIDType.AnimatorOverrideController);
|
||||
}
|
||||
|
||||
filteredAssetTypesList.UnionWith(classIDTypes);
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ namespace AssetStudio
|
||||
public List<MonoBehaviour> ParamDisplayInfoList { get; set; }
|
||||
public List<MonoBehaviour> PartDisplayInfoList { get; set; }
|
||||
public List<MonoBehaviour> PosePartList { get; set; }
|
||||
public List<AnimationClip> ClipMotionList { get; set; }
|
||||
public GameObject ModelGameObject { get; set; }
|
||||
|
||||
public CubismModel(GameObject m_GameObject)
|
||||
@@ -26,6 +27,7 @@ namespace AssetStudio
|
||||
ParamDisplayInfoList = new List<MonoBehaviour>();
|
||||
PartDisplayInfoList = new List<MonoBehaviour>();
|
||||
PosePartList = new List<MonoBehaviour>();
|
||||
ClipMotionList = new List<AnimationClip>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user