TryEnqueue(T)
Adds an element at the front of the queue.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public bool TryEnqueue(T value)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if the value was added. |
Remarks
Does nothing if the queue is full.