struct in Unity.Hierarchy
/
Implemented in:UnityEngine.HierarchyCoreModule
Represents a collection of HierarchyNode and values of type T with O(1) access time.
| Property | Description |
|---|---|
| Capacity | The number of elements that can be contained in the HierarchyNodeMapUnmanaged_1 without resizing. |
| Count | The number of elements contained in the HierarchyNodeMapUnmanaged_1. |
| IsCreated | Whether or not this object is valid and uses memory. |
| this[HierarchyNode] | Gets or sets the value associated with the specified HierarchyNode. |
| Constructor | Description |
|---|---|
| HierarchyNodeMapUnmanaged_1 | Constructs a new HierarchyNodeMapUnmanaged_1. |
| Method | Description |
|---|---|
| Add | Adds the specified HierarchyNode and value to the HierarchyNodeMapUnmanaged_1. |
| AddNoResize | Adds the specified HierarchyNode and value to the HierarchyNodeMapUnmanaged_1 without increasing capacity. |
| Clear | Removes all HierarchyNode and values from the HierarchyNodeMapUnmanaged_1. |
| ContainsKey | Determine whether or not the HierarchyNodeMapUnmanaged_1 contains the specified HierarchyNode. |
| Dispose | Dispose this object and release its memory. |
| Remove | Removes the value with the specified HierarchyNode from the HierarchyNodeMapUnmanaged_1. |
| Reserve | Reserve enough memory to contain the specified number of elements. |
| TryAdd | Attempts to add the specified HierarchyNode and value to the HierarchyNodeMapUnmanaged_1. |
| TryAddNoResize | Attempts to add the specified HierarchyNode and value to the HierarchyNodeMapUnmanaged_1 without increasing capacity. |
| TryGetValue | Gets the value associated with the specified HierarchyNode. |