TryDequeue(out T)
Removes the element from the end of the queue.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
TryDequeue(T)
public bool TryDequeue(out T item)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if an element was removed. |
Remarks
Does nothing if the queue is empty.