ドキュメント

Unity Engine

Unity Engine

SetProperty

Sets a value for a property of a hierarchy node.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

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

Sets a value for a property of a hierarchy node.
public bool SetProperty<T>(in HierarchyPropertyUnmanaged<T> property, in HierarchyNode node, T value) where T : unmanaged

Parameters

The property.

The hierarchy node.

value

T
The property value.

Returns

Type

Description

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

SetProperty(HierarchyPropertyString, HierarchyNode, string)

Sets a value for a property of a hierarchy node
public bool SetProperty(in HierarchyPropertyString property, in HierarchyNode node, string value)

Parameters

The property.

The hierarchy node.

value

The property value.

Returns

Type

Description

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