文档

Unity Engine

Unity Engine

DestroyHandlerState(HierarchyNodeType)

Disposes and forgets the state a node type handler keeps for this view model.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule
public bool DestroyHandlerState(HierarchyNodeType nodeType)

Parameters

The node type of the handler owning the state.

Returns

Type

Description

bool
true
if there was state to destroy,
false
otherwise.