기술 자료

Unity Engine

Unity Engine

ClearProperty

Clears a property value for the specified hierarchy node.
읽는 시간 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.