ScriptableWizard
class in
UnityEditor
/
Inherits from:EditorWindow
/
Implemented in:UnityEditor
Suggest a changeSuccess!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseSubmission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close Description
Derive from this class to create an editor wizard.
Editor wizards are typically opened using a menu item.
Properties
| createButtonName | Allows you to set the text shown on the create button of the wizard. |
| errorString | Allows you to set the error text of the wizard. |
| helpString | Allows you to set the help text of the wizard. |
| isValid | Allows you to enable and disable the wizard create button, so that the user can not click it. |
| otherButtonName | Allows you to set the text shown on the optional other button of the wizard. Leave this parameter out to leave the button out. |
Protected Methods
| DrawWizardGUI | Will be called for drawing contents when the ScriptableWizard needs to update its GUI. |
Messages
| OnWizardCreate | This is called when the user clicks on the Create button. |
| OnWizardOtherButton | Allows you to provide an action when the user clicks on the other button. |
| OnWizardUpdate | This is called when the wizard is opened or whenever the user changes something in the wizard. |