using UnityEngine;
using UnityEditor;
using System.Collections;
// A Wizard class that generates it's fields from public properties
public MyScriptableWizard : ScriptableWizard
{
//---------------------------------
// Reflection Fields
//---------------------------------
// An auto generated field
public string myGeneratedField;
//---------------------------------
// Static Methods
//---------------------------------
// Create the wizard
[MenuItem ("GameObject/Wizards/My Scriptable Wizard")]
static void CreateWizard ()
{
MyScriptableWizard wizard = DisplayWizard<MyScriptableWizard>(
"My Scriptable Wizard", "Wizard Create", "Wizard Other Button");
}
//==================================
// Messages
//==================================
// Called every frame when the wizard is visible.
void OnDrawGizmos()
{
}
// This is called when the user clicks on the Create button.
void OnWizardCreate()
{
}
// This is called when the wizard is opened or whenever the user
// changes something in the wizard.
void OnWizardUpdate()
{
}
// When the user pressed the "Apply" button OnWizardOtherButton is called.
void onWizardOtherButton()
{
}
}