Class SerenityUiPreviewWindow
A preview of a view (a UnityMenuSettingsDefinition or a UnityCompositeViewDefinition) with two modes:
- No theme — the structural wireframe (labeled boxes + option rows placed by view/option alignment).
- A chosen theme — a LIVE render that instantiates that theme's real prefab templates into a hidden canvas and renders them to a texture, so the actual themed result is shown at a reference resolution.
An optional backdrop image can sit behind the view (e.g. a gameplay screenshot) to judge it in context.
Namespace: Serenity.Ui.Infrastructure.Editor
Assembly: Serenity.UnityUi.Infrastructure.Editor.dll
Syntax
public class SerenityUiPreviewWindow : EditorWindow
Constructors
SerenityUiPreviewWindow()
Declaration
public SerenityUiPreviewWindow()
Methods
Open()
Declaration
public static void Open()