protected virtual void DrawScenesList(Rect rect, int index, bool isActive, bool isFocused) { var element = roSceneList.serializedProperty.GetArrayElementAtIndex(index); EditorGUI.PropertyField(new Rect(rect.x, rect.y, 16, rect.height - 2), element.FindPropertyRelative("enable"), GUIContent.none); EditorGUIExtensions.TextFieldWithTemplate(new Rect(rect.x + 16, rect.y, rect.width - 16, rect.height - 2), element.FindPropertyRelative("name"), GUIContent.none, s_AvailableScenes, false); }
public virtual void DrawSetting(SerializedProperty settings, IiOSBuildSettings buildSettings) { using (new EditorGUIExtensions.GroupScope("iOS Settings")) { // exportOptions.plist. EditorGUILayout.LabelField("exportOptions.plist Setting", EditorStyles.boldLabel); EditorGUI.indentLevel++; { var spGenerate = settings.FindPropertyRelative(nameof(_generateExportOptionPlist)); EditorGUILayout.PropertyField(spGenerate, new GUIContent("Generate Automatically")); if (spGenerate.boolValue) { EditorGUIExtensions.TextFieldWithTemplate(settings.FindPropertyRelative(nameof(_exportMethod)), s_AvailableExportMethods, false); EditorGUILayout.PropertyField(settings.FindPropertyRelative(nameof(_uploadBitcode))); EditorGUILayout.PropertyField(settings.FindPropertyRelative(nameof(_uploadSymbols))); } } EditorGUI.indentLevel--; } }
public virtual void DrawSetting(SerializedProperty settings, IiOSBuildSettings buildSettings) { EditorGUIExtensions.TextFieldWithTemplate(settings.FindPropertyRelative(nameof(_languages)), s_AvailableLanguages, true); }