Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryAddNoResize(in HierarchyNode, in T)

Attempts to add the specified HierarchyNode and value to the HierarchyNodeMapUnmanaged<T> without increasing capacity.
Read time 1 minuteLast updated 20 days ago

Definition

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

TryAddNoResize(HierarchyNode, T)

public bool TryAddNoResize(in HierarchyNode node, in T value)

Parameters

The hierarchy node.

value

T
The value.

Returns

Type

Description

bool
true
if the HierarchyNode/value pair was added to the HierarchyNodeMapUnmanaged<T>,
false
otherwise.