Class TextModeCRTPresetEditor
Inspector for TextModeCRTPreset assets. It shows the preset's display name and description, followed by every field of the CRT settings the preset holds.
Inherited Members
ScyllaEditorBase.CreateInspectorGUI()
Editor.SaveChanges()
Editor.DiscardChanges()
Editor.CreateEditorWithContext(Object[], Object)
Editor.CreateEditor(Object)
Editor.CreateEditor(Object[])
Editor.DrawDefaultInspector()
Editor.Repaint()
Editor.OnInspectorGUI()
Editor.RequiresConstantRepaint()
Editor.DrawHeader()
Editor.DrawFoldoutInspector(Object, ref Editor)
Editor.HasPreviewGUI()
Editor.CreatePreview(VisualElement)
Editor.GetPreviewTitle()
Editor.OnPreviewGUI(Rect, GUIStyle)
Editor.OnInteractivePreviewGUI(Rect, GUIStyle)
Editor.OnPreviewSettings()
Editor.GetInfoString()
Editor.DrawPreview(Rect)
Editor.ReloadPreviewInstances()
Editor.UseDefaultMargins()
Editor.MoveNextTarget()
Editor.ResetTarget()
Editor.hasUnsavedChanges
Editor.saveChangesMessage
Editor.target
Editor.targets
Editor.serializedObject
Editor.finishedDefaultHeaderGUI
ScriptableObject.CreateInstance<T>()
Object.GetEntityId()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.FindAnyObjectByType<T>()
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.FindObjectsByType<T>()
Object.FindObjectsByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
Namespace: Scylla.TextMode.Editor
Assembly: ScyllaTextMode.Editor.dll
Syntax
[CustomEditor(typeof(TextModeCRTPreset))]
public sealed class TextModeCRTPresetEditor : ScyllaEditorBase
Remarks
Presets are the monitors that TextModeCRTDriver, TextModeCRTMonitor and the Volume components of the URP and HDRP packages can pick from. The inspector is built with UI Toolkit on top of Scylla.Core.Editor.ScyllaEditorBase.
Methods
BuildInspector(VisualElement)
Builds the preset inspector: the header, the display name and description fields, and a Settings section with the fields of the preset's CRT settings.
Declaration
protected override void BuildInspector(VisualElement root)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | root | The root element that the inspector content is added to. |
Overrides
Scylla.Core.Editor.ScyllaEditorBase.BuildInspector(UnityEngine.UIElements.VisualElement)