ScriptableWizard.helpString 帮助文本

var helpString : string

Description描述

Allows you to set the help text of the wizard.

允许您设置向导的帮助文本。

参见:ScriptableWizard.OnWizardUpdate

ScriptableWizard.helpString 帮助文本

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.";
	}
}
Page last updated: 2011-6-25