Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ClearProperty

Clears a property value for the specified hierarchy node.
Read time 1 minuteLast updated 11 days ago

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.