private void OnGUI()
        {
            KLEditorUtils.DrawKrillHeader();

            DrawTags();
            DrawVariables();
        }
        private void OnGUI()
        {
            m_scroll = EditorGUILayout.BeginScrollView(m_scroll);
            KLEditorUtils.DrawKrillHeader();

            Draw(m_contractCache);

            EditorGUILayout.EndScrollView();
        }
示例#3
0
        private void OnGUI()
        {
            KLEditorUtils.DrawKrillHeader();

            GUI.enabled = m_isDirty;
            if (GUILayout.Button("Refresh"))
            {
                RefreshCore();
            }
            GUI.enabled = true;

            DrawEditableList(KLSettings.Instance.placeholderContract.tags, ref m_tagScroll,
                             ref m_tagName, string.Format("Tags [{0}]", KLSettings.Instance.placeholderContract.tags.Count));

            DrawEditableList(KLSettings.Instance.placeholderContract.variables, ref m_variableScroll,
                             ref m_variableName, string.Format("Variables [{0}]", KLSettings.Instance.placeholderContract.variables.Count));
        }