文档

Unity Engine

Unity Engine

ClearProperty

Clears a property value for the specified hierarchy node.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule

ClearProperty<T>(HierarchyPropertyUnmanaged<T>, HierarchyNode)

Clears a property value for the specified hierarchy node.
public bool ClearProperty<T>(in HierarchyPropertyUnmanaged<T> property, in HierarchyNode node) where T : unmanaged

Parameters

The hierarchy property.

The hierarchy node.

Returns

Type

Description

bool
true
if the command was appended to the list,
false
otherwise.

ClearProperty(HierarchyPropertyString, HierarchyNode)

Clears a property value for the specified hierarchy node.
public bool ClearProperty(in HierarchyPropertyString property, in HierarchyNode node)

Parameters

The hierarchy property.

The hierarchy node.

Returns

Type

Description

bool
true
if the command was appended to the list,
false
otherwise.