ScriptableWizard.helpString 帮助文本
var helpString : string
Description描述
Allows you to set the help text of the wizard.
允许您设置向导的帮助文本。
参见:ScriptableWizard.OnWizardUpdate
Help string on a Scriptable Wizard Window.
在脚本化向导窗口的帮助字符串
// C#
// Creates a simple Wizard window and prints the HelpString
// in the Wizard window.
//创建一个简单的向导窗口并打印帮助字符串
using UnityEngine;
using UnityEditor;
public class HelpString : ScriptableWizard {
[MenuItem ("Example/Show Help String")]
static void CreateWindow() {
ScriptableWizard.DisplayWizard("", typeof(HelpString), "Finish");
}
void OnWizardUpdate() {
helpString = "This string describes what the Scriptable Wizard does.";
}
}
最后修改:2011年6月25日 Saturday 11:45