Esempio n. 1
0
        protected void DrawButtons()
        {
            if (methodsForButtons.Any())
            {
                EditorGUILayout.Space();

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

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