Class HubToolLaunchRules
Resolves a SerenityHubToolCatalog entry's menu path by hub-tool id. Kept IMGUI-free so a non-IMGUI caller (Serenity.CreateGame.Infrastructure.Editor.Steps.SettingsRowActionExecutor) can resolve a hub-tool id safely and fall back to logging NoWizardCatalogedNotice instead of drawing anything.
Inherited Members
Namespace: Serenity.CreateGame.Infrastructure.Editor
Assembly: Serenity.UnityCreateGame.Infrastructure.Editor.dll
Syntax
public static class HubToolLaunchRules
Fields
NoWizardCatalogedNotice
Declaration
public const string NoWizardCatalogedNotice = "No wizard catalogued for this system."
Field Value
| Type | Description |
|---|---|
| string | Shared by every caller that reports a catalog miss, so the notice text exists once. |
Methods
TryResolveMenuPath(string, out string)
Resolves hubToolId to its catalogued menu path — false with a null
menuPath when no entry carries that id.
Declaration
public static bool TryResolveMenuPath(string hubToolId, out string menuPath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | hubToolId | |
| string | menuPath |
Returns
| Type | Description |
|---|---|
| bool |