Exporting models support

This commit is contained in:
左右看
2023-06-27 20:53:11 +08:00
parent ce6ae8f45c
commit 50ae0be479
6 changed files with 59 additions and 6 deletions
+3 -1
View File
@@ -1310,10 +1310,12 @@ public class UmaViewerUI : MonoBehaviour
MessageScrollRect.verticalNormalizedPosition = 0;
}
public void ExportTextures()
public void ExportModel()
{
if (Builder.CurrentUMAContainer)
{
//TextureExporter.exportAllTexture(Builder.CurrentUMAContainer.gameObject);
ModelExporter.exportModel(Builder.CurrentUMAContainer.gameObject);
TextureExporter.exportAllTexture(Builder.CurrentUMAContainer.gameObject);
}
}