ドキュメント

Unity Engine

Unity Engine

IStateView

The generated view for a State.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public interface IStateView

Remarks

Passed to StateView<T> as its StateView<T>.View. Add custom UI to IStateView.Root. Its contents are cleared each time the state returns from being culled; cache any custom UI you allocated in StateView<T>.OnViewBuilt and re-add it from StateView<T>.OnCullingChanged when
cullingEnabled
is
false
.

Properties

Property

Description

RootThe root VisualElement of the state, to which custom UI can be added.