void OnGUI() { if (mEditorGameBuildConfigurations == null) { mEditorGameBuildConfigurations = new EditorGameBuildConfigurations(); } if (mEditorAssetBundleVersion == null) { mEditorAssetBundleVersion = new EditorAssetBundleVersion(mEditorGameBuildConfigurations); } GUILayout.Space(20); EditorGUILayout.BeginHorizontal(); EditorGUILayout.BeginVertical(GUILayout.Width(500)); mEditorAssetBundleVersion.OnGUI(); EditorGUILayout.EndVertical(); //GUILayout.Space(500); EditorGUILayout.BeginVertical(); EditorGUILayout.BeginHorizontal(); mEditorGameBuildConfigurations.OnGUI(); EditorGUILayout.EndHorizontal(); EditorGUILayout.BeginHorizontal(); DrawBuild(); EditorGUILayout.EndHorizontal(); EditorGUILayout.EndVertical(); EditorGUILayout.EndHorizontal(); }
void OnGUI() { if (mEditorGameBuildConfigurations == null) { mEditorGameBuildConfigurations = new EditorGameBuildConfigurations(); } if (mEditorAssetBundleVersion == null) { mEditorAssetBundleVersion = new EditorAssetBundleVersion(mEditorGameBuildConfigurations); mEditorAssetBundleVersion.versionUploadFileToServerSuccessCallback = (x, y) => { if (mAssetVersionUploadServerPushMsgToDingDingRobot) { AssetVersionUploadToServerHint(x, y); } }; } GUILayout.Space(20); EditorGUILayout.BeginHorizontal(); EditorGUILayout.BeginVertical(GUILayout.Width(500)); mEditorAssetBundleVersion.OnGUI(); EditorGUILayout.EndVertical(); //GUILayout.Space(500); EditorGUILayout.BeginVertical(); EditorGUILayout.BeginHorizontal(); mEditorGameBuildConfigurations.OnGUI(); EditorGUILayout.EndHorizontal(); EditorGUILayout.BeginHorizontal(); DrawBuild(); EditorGUILayout.EndHorizontal(); EditorGUILayout.EndVertical(); EditorGUILayout.EndHorizontal(); }