Class ScyllaTextModeMenuItems
Menu item definitions for the Scylla TextMode module. Provides access to TextMode module creation and configuration utilities.
Inherited Members
Namespace: Scylla.TextMode.Editor
Assembly: ScyllaTextMode.Editor.dll
Syntax
public static class ScyllaTextModeMenuItems
Methods
CreateTextModeModule()
Creates a new ScyllaTextMode module GameObject in the scene.
Declaration
[ScyllaMenuItem(ScyllaMenuGroup.Create, "Scylla TextMode", ModuleID = "ScyllaTextMode", Validate = "ValidateCreateTextModeModule")]
[ScyllaMenuItem(ScyllaMenuGroup.GameObject, "Scylla TextMode", ModuleID = "ScyllaTextMode", Validate = "ValidateCreateTextModeModule")]
public static void CreateTextModeModule()
OpenWizard()
Opens the TextMode Wizard, which sets up TextMode in the open scene.
Declaration
[ScyllaMenuItem(ScyllaMenuGroup.Module, "TextMode/TextMode Wizard...", ModuleID = "ScyllaTextMode", Order = 0, Validate = "ValidateOpenWizard")]
public static void OpenWizard()
ValidateCreateTextModeModule()
Validates the Create TextMode Module menu item. Enables only if bootstrap exists and no TextMode module exists yet.
Declaration
public static bool ValidateCreateTextModeModule()
Returns
| Type | Description |
|---|---|
| bool |
ValidateOpenWizard()
Validates the TextMode Wizard menu item: the wizard edits the open scene, which it cannot do in Play mode.
Declaration
public static bool ValidateOpenWizard()
Returns
| Type | Description |
|---|---|
| bool | True outside Play mode. |