private void DrawTags()
        {
            EditorGUILayout.BeginVertical(EditorStyles.helpBox);

            EditorGUILayout.LabelField("Available tags", EditorStyles.boldLabel);
            KLEditorUtils.DrawUILine();

            m_tagScrollPosition = EditorGUILayout.BeginScrollView(m_tagScrollPosition);
            foreach (var tag in KLEditorCore.AvailableTags)
            {
                KLEditorUtils.DrawTag(tag);
            }

            EditorGUILayout.EndScrollView();

            EditorGUILayout.EndVertical();

            // KLEditorUtility.DrawWindowDebug(this);
        }
예제 #2
0
 private void Draw(KLTagDefinition tag)
 {
     KLEditorUtils.DrawTag(tag);
 }