public override void OnInspectorGUI() { base.OnInspectorGUI(); EditorGUILayout.Space(); EditorGUILayout.Space(); EditorGUILayout.Space(); // Click this button to apply the configuration if (GUILayout.Button("Apply this configuration")) { BuildConfiguration config = target as BuildConfiguration; if (config != null) { BuildSetup.Setup(config); } } }