Class StructuredBackendAuthoringGui
The shared IMGUI half of the backend authoring step: the four backend cards, the kind-specific
fields, and the scripting-define/secret-in-plaintext warnings — extracted from
CreateLeaderboardWindow's Backend step so the GameSave and GameProgress wizards draw the
identical UI without duplicating it. Pure presentation over StructuredBackendAuthoringFields;
all validation and asset construction live in StructuredBackendAuthoringFactory.
Inherited Members
Namespace: Serenity.StructuredPersistence.Infrastructure.Editor.Authoring
Assembly: Serenity.UnityStructuredPersistence.Infrastructure.Editor.dll
Syntax
public static class StructuredBackendAuthoringGui
Methods
DrawBackendSection(ref StructuredBackendAuthoringKind, StructuredBackendAuthoringFields, UnityStructuredBackendDefinition, ref bool, string, string)
Draws the "existing backend assigned" notice (when applicable), the four backend cards, and the
fields for the currently selected kind. Mutates kind and fields
in place.
Declaration
public static void DrawBackendSection(ref StructuredBackendAuthoringKind kind, StructuredBackendAuthoringFields fields, UnityStructuredBackendDefinition existingBackend, ref bool replaceExisting, string defaultLocalFileDirectoryName, string defaultSqliteDatabaseFileName)
Parameters
| Type | Name | Description |
|---|---|---|
| StructuredBackendAuthoringKind | kind | |
| StructuredBackendAuthoringFields | fields | |
| UnityStructuredBackendDefinition | existingBackend | |
| bool | replaceExisting | |
| string | defaultLocalFileDirectoryName | |
| string | defaultSqliteDatabaseFileName |