CustomEditor.CustomEditor 构造自定义编辑器

static function CustomEditor (inspectedType : System.Type) : CustomEditor

Description描述

Defines which object type the custom editor class can edit.

定义了对象类型的自定义编辑器类可以编辑。

@CustomEditor(MyPlayer)

class MyPlayerEditor extends Editor {

	// See the documentation for the Editor class for the full example

	//参见这个编辑器类文档的所有例子

}
Page last updated: 2011-1-24