ScriptableWizard.DisplayWizard 显示向导
static function DisplayWizard (title : string, klass : System.Type, createButtonName : string = "Create", otherButtonName : string = "") : ScriptableWizard
Parameters参数
-
TThe class implementing the wizard. It has to derive from ScriptableWizard.
执行向导类,从ScriptableWizard派生 -
titleThe title shown at the top of the wizard window.
在向导窗口顶部显示的标题 -
classThe class implementing the wizard. It has to derive from ScriptableWizard.
执行向导类,从ScriptableWizard派生 -
createButtonNameThe text shown on the create button.
创建按钮上显示的文本 -
otherButtonNameThe text shown on the optional other button. Leave this parameter out to leave the button out.
可选其他按钮上显示的文本,删掉这个参数将删掉按钮
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仅为每个向导类显示一个向导。
最后修改:2011年6月25日 Saturday 15:31