Class WizardWindow
Provides the base class for an editor wizard window.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
UnityEditor.EditorWindow
WizardWindow
Namespace: AlchemyBow.Core.Editor.Wizards
Assembly: AlchemyBow.Core.Editor.dll
Syntax
public abstract class WizardWindow : EditorWindow
Properties
IsValid
Determines whether the wizard content is valid.
Declaration
protected bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
Awake()
Override this method to alternate Awake behaviour. By default, Validate()
is called.
Declaration
protected virtual void Awake()
Create()
Override this method to determine what happens when the create button is clicked.
Declaration
protected abstract void Create()
OnProjectChange()
Override this method to alternate OnProjectChange behaviour. By default, Validate()
is called.
Declaration
protected virtual void OnProjectChange()
OnValidableGUI()
Override this method to draw validable controls inside the wizard.
Declaration
protected abstract void OnValidableGUI()
Validate()
Starts the wizard content validation.
Declaration
protected void Validate()
Validate(ValidationMessageList)
Override this method to validate the wizard content.
Declaration
protected abstract void Validate(ValidationMessageList validationMessageList)
Parameters
Type | Name | Description |
---|---|---|
ValidationMessageList | validationMessageList | A list of validation messages to append results to. |