Version: 2021.3
言語: 日本語
public static object GetStateObject (Type t, int controlID);

説明

コントロール ID から状態オブジェクトを取得します

This will return a recycled state object that is unique for controlID. If there is no state object then a new one will be created and hooked up to the controlID.

On the first call into GetStateObject a new state object will be created. The controlID uniquely refers to this object. On subsequent calls the stored object will be returned.

See Also: GUIUtility.QueryStateObject.