mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-09 04:19:42 -05:00
Add Stopwatch
This commit is contained in:
@@ -99,6 +99,8 @@ namespace VRM
|
||||
Undo.PerformUndo();
|
||||
}
|
||||
|
||||
var sw = System.Diagnostics.Stopwatch.StartNew();
|
||||
|
||||
VRMExporter.Export(target, path, gltf => {
|
||||
|
||||
gltf.extensions.VRM.meta.title = Title;
|
||||
@@ -106,6 +108,8 @@ namespace VRM
|
||||
|
||||
});
|
||||
|
||||
Debug.LogFormat("Export elapsed {0}", sw.Elapsed);
|
||||
|
||||
if (Target.gameObject!=target)
|
||||
{
|
||||
GameObject.DestroyImmediate(target);
|
||||
|
||||
Reference in New Issue
Block a user