ドキュメント

Unity Engine

Unity Engine

TryEnqueue(T)

Adds an element at the front of the queue.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public bool TryEnqueue(T value)

Parameters

value

T
The value to be added.

Returns

Type

Description

boolTrue if the value was added.

Remarks

Does nothing if the queue is full.