TryDequeue(out T)
Removes the element from the end of the queue.
阅读时间1 分钟最后更新于 1 个月前
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.