Class UnityGameGraphicsSettingsEditorEditor
Unity Editor custom inspector for UnityGameGraphicsSettings ScriptableObjects.
Renders typed object reference fields backed by UnityGraphicGameSettingsDefinition assets
for quality level, screen resolution and fullscreen mode key mappings. The serialized data
remains string ids; the inspector exposes the standard Unity object picker and drag-and-drop.
Namespace: Serenity.GameGraphics.Installation.Settings.Editor
Assembly: Serenity.UnityGraphicsSettings.Installation.Editor.dll
Syntax
public class UnityGameGraphicsSettingsEditorEditor : FoundationEditor<UnityGameGraphicsSettings>
Constructors
UnityGameGraphicsSettingsEditorEditor()
Declaration
public UnityGameGraphicsSettingsEditorEditor()
Methods
OnInspectorGUI()
Unity Editor OnInspectorGUI method for rendering custom graphics settings interface.
Draws base inspector GUI and specialized graphics settings controls for quality level,
screen resolution, and fullscreen mode key mapping with object reference fields for
linking graphics controls to persistent game settings.
Declaration
public override void OnInspectorGUI()
RenderIsFullscreenKey(UnityGameGraphicsSettings)
Renders the fullscreen mode key as a typed object reference field backed by a UnityGraphicGameSettingsDefinition asset.
Declaration
public void RenderIsFullscreenKey(UnityGameGraphicsSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityGameGraphicsSettings | settings | Unity game graphics settings to configure |
RenderQualityLevelKey(UnityGameGraphicsSettings)
Renders the quality level key as a typed object reference field backed by a UnityGraphicGameSettingsDefinition asset.
Declaration
public void RenderQualityLevelKey(UnityGameGraphicsSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityGameGraphicsSettings | settings | Unity game graphics settings to configure |
RenderScreenResoultionKey(UnityGameGraphicsSettings)
Renders the screen resolution key as a typed object reference field backed by a UnityGraphicGameSettingsDefinition asset.
Declaration
public void RenderScreenResoultionKey(UnityGameGraphicsSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityGameGraphicsSettings | settings | Unity game graphics settings to configure |