texture export

This commit is contained in:
左右看
2023-06-27 06:30:11 +08:00
parent 8bdc393613
commit ce6ae8f45c
5 changed files with 773 additions and 23 deletions
+8
View File
@@ -1309,4 +1309,12 @@ public class UmaViewerUI : MonoBehaviour
MessageScrollRect.gameObject.SetActive(true);
MessageScrollRect.verticalNormalizedPosition = 0;
}
public void ExportTextures()
{
if (Builder.CurrentUMAContainer)
{
TextureExporter.exportAllTexture(Builder.CurrentUMAContainer.gameObject);
}
}
}