예제 #1
0
        static void ShowWindow()
        {
            EditorUtility.ClearProgressBar();
            IGGBuildPlayerWindow wnd = EditorWindow.GetWindow <IGGBuildPlayerWindow>("Build Setting");

            wnd.minSize = new Vector2(200, 250);
        }
예제 #2
0
        private void ShowBuildSetting()
        {
            EditorGUIUtility.labelWidth = Mathf.Max(180f, (base.position.width - 265f) * 0.47f);

            IGGEditorBuildSettings.configBuild      = EditorGUILayout.Toggle(IGGBuildPlayerWindow.styles.configBuild, IGGEditorBuildSettings.configBuild, new GUILayoutOption[0]);
            IGGEditorBuildSettings.assetBundleBuild = EditorGUILayout.Toggle(IGGBuildPlayerWindow.styles.assetBundleBuild, IGGEditorBuildSettings.assetBundleBuild, new GUILayoutOption[0]);
            IGGEditorBuildSettings.debugBuild       = EditorGUILayout.Toggle(IGGBuildPlayerWindow.styles.debugBuild, IGGEditorBuildSettings.debugBuild, new GUILayoutOption[0]);

            GUILayout.FlexibleSpace();
            if (GUILayout.Button(IGGBuildPlayerWindow.styles.build, new GUILayoutOption[] { GUILayout.Width(110f) }))
            {
                IGGBuildPlayerWindow.CallBuildMethods();
            }
        }