예제 #1
0
        protected void DrawButtons()
        {
            if (methodsForButtons.Any())
            {
                EditorGUILayout.Space();

                foreach (var method in methodsForButtons)
                {
                    EasyEditorGUILayout.Button(serializedObject.targetObject, method);
                }
            }
        }
예제 #2
0
        protected void DrawProperties()
        {
            if (propertiesToDraw.Any())
            {
                EditorGUILayout.Space();

                foreach (var prop in propertiesToDraw)
                {
                    EasyEditorGUILayout.DrawProperty(serializedObject.targetObject, prop);
                }
            }
        }