コード例 #1
0
        private void OnGUI()
        {
            EditorGUILayout.BeginHorizontal();
            EditorGUILayout.LabelField("Game Name: ", EditorStyles.boldLabel);
            _wantedRootName = EditorGUILayout.TextField(_wantedRootName);
            EditorGUILayout.EndHorizontal();

            if (GUILayout.Button("Create Folder Structure", GUILayout.ExpandWidth(true), GUILayout.Height(32)))
            {
                //Debug.Log(Application.dataPath);
                CreateRootFolder();
            }


            //Make sure we have the instance and repaint it
            if (m_Win)
            {
                m_Win.Repaint();
            }
        }