TryAdd(T)
Adds a new value. If the item is already present, this method returns false without replacing said item.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public bool TryAdd(T item)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if the value is not already present. |