public override void OnInspectorGUI() { EditorGUILayout.Space(); sets.Draw(); serializedObject.ApplyModifiedProperties(); }
protected virtual void DrawObjects() { if (targets.Length == 1) { EditorGUILayout.Space(); objects.Draw(); } }
void DrawOptions() { EditorGUI.BeginChangeCheck(); { options.Draw(); } if (EditorGUI.EndChangeCheck()) { InitValue(); } }
public override void OnInspectorGUI() { EditorGUILayout.Space(); EditorGUI.BeginChangeCheck(); index.Draw(); if (EditorGUI.EndChangeCheck()) { serializedObject.ApplyModifiedProperties(); target.NavigateTo(index.Index); } tabs.Draw(); serializedObject.ApplyModifiedProperties(); }
public override void OnInspectorGUI() { if (targets.Length == 1) { EditorGUILayout.Space(); objects.Draw(); } serializedObject.ApplyModifiedProperties(); if (GUILayout.Button("Instantiate")) { ForAllTargets((MultiPrefab target) => target.Instantiate()); } if (GUILayout.Button("Clear")) { ForAllTargets((MultiPrefab target) => target.Clear()); } }
protected virtual void DrawFoldersConstraints() { pathsConstraints.Draw(); }
protected virtual void DrawSets() { sets.Draw(); }
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { InitList(property, label); list.Draw(position); }
protected virtual void DrawTabs() { tabs.Draw(); }
protected virtual void DrawClips() { clips.Draw(); }
protected virtual void DrawElements() { elements.Draw(); }