ドキュメント

Unity Engine

Unity Engine

GetOrCreateHandlerState<T>(HierarchyNodeType)

Gets the state a node type handler keeps for this view model, creating it when there is none.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule
public T GetOrCreateHandlerState<T>(HierarchyNodeType nodeType) where T : class, IHierarchyNodeTypeHandlerViewModelState, new()

Parameters

The node type of the handler owning the state.

Returns

Type

Description

TThe state.