Exemple #1
0
        private static void AboutJCSUnity()
        {
            JCSUnity_About window = (JCSUnity_About)GetWindow(typeof(JCSUnity_About));

            window.minSize = new Vector2(WINDOW_WIDTH, WINDOW_HEIGHT);
            window.maxSize = new Vector2(WINDOW_WIDTH, WINDOW_HEIGHT);
            window.Show();
        }
Exemple #2
0
        private void OnGUI()
        {
            JCSUnity_About.ReadINIFile();

            Init();
            Draw();
            SavePref();
        }
Exemple #3
0
        private void OnGUI()
        {
            JCSUnity_About.ReadINIFile();

            GUILayout.Label("** Editor Settings **", EditorStyles.boldLabel);

            mOCSFoldeout = EditorGUILayout.Foldout(mOCSFoldeout, "One click serialize");
            if (mOCSFoldeout)
            {
                PartOneClickSerialize();
            }

            mBOFoldout = EditorGUILayout.Foldout(mBOFoldout, "Bases Object");
            if (mBOFoldout)
            {
                PartBaseObject();
            }

            mGUIFoldout = EditorGUILayout.Foldout(mGUIFoldout, "GUI");
            if (mGUIFoldout)
            {
                PartGUI();
            }

            m2DFoldout = EditorGUILayout.Foldout(m2DFoldout, "2D");
            if (m2DFoldout)
            {
                Part2D();
            }

            m3DFoldout = EditorGUILayout.Foldout(m3DFoldout, "3D");
            if (m3DFoldout)
            {
                Part3D();
            }

            mARVRFoldout = EditorGUILayout.Foldout(mARVRFoldout, "AR / VR");
            if (mARVRFoldout)
            {
                PartARVR();
            }

            mInputFoldout = EditorGUILayout.Foldout(mInputFoldout, "Input");
            if (mInputFoldout)
            {
                PartInput();
            }

            mToolFoldout = EditorGUILayout.Foldout(mToolFoldout, "Tool");
            if (mToolFoldout)
            {
                PartTool();
            }
        }