mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-30 18:22:52 +08:00
fix: attempting to add scene assets to avatar asset
This commit is contained in:
parent
0f2895c14e
commit
abdbecf26f
@ -134,6 +134,7 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
Walk(AvatarDescriptor.gameObject);
|
||||
|
||||
referencedAssets.RemoveWhere(sceneAssets.Contains);
|
||||
referencedAssets.RemoveWhere(a => a is GameObject || a is Component);
|
||||
referencedAssets.RemoveWhere(o => !string.IsNullOrEmpty(AssetDatabase.GetAssetPath(o)));
|
||||
|
||||
int index = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user