在一段时间后自动淡出,用RemoveNotification可立马删除
public class WizardEditor : ScriptableWizard
{
[MenuItem("Tools/CrerteWizard")]
static void CrerteWizard()
{
ScriptableWizard.DisplayWizard<WizardEditor>("title", "createButton","otherButton");
}
void OnWizardOtherButton()
{
ShowNotification(new GUIContent("hello"));
}
}