protected virtual void DrawBuilderSettings(IProjectBuilder builder) { using (new EditorGUILayout.HorizontalScope()) { // Apply settings from current builder asset. if (GUILayout.Button(new GUIContent("Apply Setting", EditorGUIUtility.FindTexture("d_SaveAs")))) { builder.DefineSymbol(); builder.ApplySettings(); } // Read settings from project settings. if (GUILayout.Button(new GUIContent("Read Setting", EditorGUIUtility.FindTexture("Loading")))) { builder.ReadSettings(); } // Open PlayerSettings. if (GUILayout.Button( new GUIContent("Player Setting", EditorGUIUtility.FindTexture("d_editicon.sml")), GUILayout.Width(110))) { #if UNITY_2018_1_OR_NEWER // Selection.activeObject = Unsupported.GetSerializedAssetInterfaceSingleton("PlayerSettings"); SettingsService.OpenProjectSettings("Project/Player"); #else EditorApplication.ExecuteMenuItem("Edit/Project Settings/Player"); #endif } } }