Class PersistenceRowActions
Executes the Settings step's Edit and Fix actions for a row whose system installs at bootstrap
(Persistence today) — it has no Hub wizard to route through, so both ping/select the asset directly,
putting a single malformed asset (e.g. a blank Id) in front of the reader to correct in the Inspector.
Create is drawn inline by Serenity.CreateGame.Infrastructure.Editor.Systems.PersistenceBackendRowGui instead of dispatching through
here: a backend kind is a choice the reader makes from a list, not a single button click this class
could run on its own. Fix does nothing when assetPath is blank — the row is
genuinely ambiguous (several candidate assets, none singled out) rather than one malformed asset to
point at; Serenity.CreateGame.Infrastructure.Editor.Steps.InitializeSerenitySettingsStep does not even offer the button for that
case, since a click that pings nothing would be indistinguishable from doing nothing at all.
Inherited Members
Namespace: Serenity.CreateGame.Infrastructure.Editor
Assembly: Serenity.UnityCreateGame.Infrastructure.Editor.dll
Syntax
public static class PersistenceRowActions
Methods
Run(SettingsRowActionKind, string, string, Action)
Declaration
public static void Run(SettingsRowActionKind kind, string assetPath, string outputRoot, Action onCreated)
Parameters
| Type | Name | Description |
|---|---|---|
| SettingsRowActionKind | kind | |
| string | assetPath | |
| string | outputRoot | |
| Action | onCreated |