示例#1
0
 public static void ExportSceneResourceAndRun(string customNamespace = null)
 {
     try
     {
         if (ExportSceneResource(customNamespace))
         {
             EditorAssemblies.AddOnAssemblyReloadCallback("VRC.AssetExporter", "RunExportedSceneResourceAndCleanupPlugin");
         }
         else
         {
             AssetExporter.RunExportedSceneResourceAndCleanupPlugin();
         }
     }
     catch (Exception ex)
     {
         AssetExporter.CleanupTmpFiles();
         EditorAssemblies.ClearAssemblyReloadCallbacks();
         throw ex;
         IL_0039 :;
     }
 }