static function DisplayWizard (title : string, klass : System.Type, createButtonName : string = "Create", otherButtonName : string = "") : ScriptableWizard
Parameters参数
-
T
The class implementing the wizard. It has to derive from ScriptableWizard.
执行向导类,从ScriptableWizard派生
-
title
The title shown at the top of the wizard window.
在向导窗口顶部显示的标题
-
class
The class implementing the wizard. It has to derive from ScriptableWizard.
执行向导类,从ScriptableWizard派生
-
createButtonName
The text shown on the create button.
创建按钮上显示的文本
-
otherButtonName
The text shown on the optional other button. Leave this parameter out to leave the button out.
可选其他按钮上显示的文本,删掉这个参数将删掉按钮
Returns
ScriptableWizard - The wizard.
返回ScriptableWizard - 该向导。
Description描述
Creates a wizard.
创建一个向导。
When the user hits the Create button OnWizardCreate function will be called. DisplayWizard will only show one wizard for every wizard class.
当用户点击创建按钮,OnWizardCreate函数将被调用。DisplayWizard仅为每个向导类显示一个向导。
Page last updated: 2011-6-25