Class TextModeCRTMonitorEditor
Inspector for TextModeCRTMonitor. Assigning a preset copies its settings into the component, and a button copies them again after they have been edited.
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(TextModeCRTMonitor))]
public sealed class TextModeCRTMonitorEditor : ScyllaEditorBase
Remarks
The preset field and the reset button come from Scylla.TextMode.Editor.TextModeCRTInspectorUtil, which the inspector of TextModeCRTDriver shares. In between, a Screen section shows the screen, texture property and resolution fields that only the monitor has. The inspector is built with UI Toolkit on top of Scylla.Core.Editor.ScyllaEditorBase.
Methods
BuildInspector(VisualElement)
Builds the monitor inspector: the header, the preset controls, the Screen section, and the Quality and Settings sections.
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)