GUIUtility.GetStateObject 获取状态物体

static function GetStateObject (t : Type, controlID : int) : object

Description描述

Get a state object from a controlID.

从一个controlID获取一个状态的物体。

This will return a recycled state object that is unique for controlID. If there is none already, A new one will be created and hooked up to the ControlID

这将返回一个可回收状态物体,该物体具有唯一的controlID。如果没有,一个新的将被创建并且添加到ControlID。

Page last updated: 2011-1-4