Esempio n. 1
0
 public static void MenuOneKeyBuildAll()
 {
     System.Diagnostics.Stopwatch sw = new System.Diagnostics.Stopwatch();
     sw.Start();
     AssetProcessorMain.ProcessAll();
     sw.Stop();
     Debug.Log(string.Format("后处理完成,耗时:{0} s", sw.ElapsedMilliseconds / 1000f));
 }
Esempio n. 2
0
 public static void MenAllPlay()
 {
     AssetProcessorMain.ProcessAll();
     EditorApplication.isPlaying = true;
 }