Beispiel #1
0
 /// <summary>
 /// DrawAssetNodes
 /// </summary>
 private void DrawAssetNodes()
 {
     EditorGUILayout.BeginHorizontal();
     if (GUILayout.Button("Build All AssetDiskMaping"))
     {
         EditorStrayFogExecute.ExecuteBuildAllAssetDiskMaping();
         EditorStrayFogApplication.MenuItemQuickDisplayDialogSucceed("Build All AssetDiskMaping");
     }
     EditorGUILayout.EndHorizontal();
 }
 static void EditorAssetDiskMapingMenuItem_EditorWindowBuildAllAssetDiskMaping()
 {
     if (EditorStrayFogApplication.IsExecuteMethodInCmd())
     {
         EditorStrayFogExecute.ExecuteBuildAllAssetDiskMaping();
         EditorStrayFogApplication.MenuItemQuickDisplayDialogSucceed(mcBuildAllAssetDiskMaping);
     }
     else
     {
         EditorWindowBuildAllAssetDiskMaping win =
             EditorWindow.GetWindow <EditorWindowBuildAllAssetDiskMaping>(mcBuildAllAssetDiskMaping);
         win.Show();
     }
 }
 /// <summary>
 /// 创建窗口枚举
 /// </summary>
 void BuilderWindowEnum()
 {
     EditorStrayFogExecute.ExecuteBuildUIWindowSetting();
     EditorStrayFogExecute.ExecuteBuildAllAssetDiskMaping();
     EditorUtility.DisplayDialog("Builder Window Enum", "Builder Window Enum Success", "OK");
 }