Exemplo n.º 1
0
        void OnGUI_Tools_MergeTerms()
        {
            OnGUI_ScenesList(true);

            GUI.backgroundColor = Color.Lerp(Color.gray, Color.white, 0.2f);
            GUILayout.BeginVertical(EditorStyles.textArea, GUILayout.Height(1));
            GUI.backgroundColor = Color.white;
            GUILayout.Space(5);

            EditorGUILayout.HelpBox("This option replace all occurrences of this key in the selected scenes", MessageType.Info);

            GUILayout.Space(5);
            GUITools.CloseHeader();

            OnGUI_Tools_Categorize_Terms();
            OnGUI_NewOrExistingTerm();
        }
        void OnGUI_Tools_Categorize()
        {
            OnGUI_ScenesList(true);

            GUI.backgroundColor = Color.Lerp(Color.gray, Color.white, 0.2f);
            GUILayout.BeginVertical("AS TextArea", GUILayout.Height(1));
            GUI.backgroundColor = Color.white;
            GUILayout.Space(5);

            EditorGUILayout.HelpBox("This tool changes the category of the selected Terms and updates the highlighted scenes", UnityEditor.MessageType.Info);

            GUILayout.Space(5);
            GUITools.CloseHeader();

            OnGUI_Tools_Categorize_Terms();
            OnGUI_NewOrExistingCategory();
        }