private void DrawVariables() { EditorGUILayout.BeginVertical(EditorStyles.helpBox); EditorGUILayout.LabelField("Available variables", EditorStyles.boldLabel); KLEditorUtils.DrawUILine(); m_variableScrollPosition = GUILayout.BeginScrollView(m_variableScrollPosition); foreach (var variable in KLEditorCore.AvailableVariables) { KLEditorUtils.DrawVariable(variable); } EditorGUILayout.EndScrollView(); EditorGUILayout.EndVertical(); }
private void Draw(KLVariableDefinition variable) { KLEditorUtils.DrawVariable(variable); }