Class CoreControllerScriptWizard
Provides a wizard for CoreController
scripts.
Namespace: AlchemyBow.Core.Editor.Wizards
Assembly: AlchemyBow.Core.Editor.dll
Syntax
public sealed class CoreControllerScriptWizard : WizardWindow
Methods
Awake()
Override this method to alternate Awake behaviour. By default, Validate()
is called.
Declaration
protected override void Awake()
Overrides
BuildCoreControllerScript(string, string, string, string)
Builds a minimal content of the CoreController
script.
Declaration
public static string BuildCoreControllerScript(string namespaceName, string className, string projectContextNamespaceName, string projectContextClassName)
Parameters
Type | Name | Description |
---|---|---|
string | namespaceName | The controller namespace name. |
string | className | The controller class name. |
string | projectContextNamespaceName | The project context namespace name. |
string | projectContextClassName | The project context class name. |
Returns
Type | Description |
---|---|
string | A minimal content of the |
Create()
Override this method to determine what happens when the create button is clicked.
Declaration
protected override void Create()
Overrides
CreateWindow(Type)
Opens a new core controller script wizard window.
Declaration
public static void CreateWindow(Type projectContextType)
Parameters
Type | Name | Description |
---|---|---|
Type | projectContextType | A type of the core project context. |
OnValidableGUI()
Override this method to draw validable controls inside the wizard.
Declaration
protected override void OnValidableGUI()
Overrides
Validate(ValidationMessageList)
Override this method to validate the wizard content.
Declaration
protected override void Validate(ValidationMessageList validationMessageList)
Parameters
Type | Name | Description |
---|---|---|
ValidationMessageList | validationMessageList | A list of validation messages to append results to. |