기술 자료

Unity Engine

Unity Engine

TryDequeue(out T)

Removes and outputs the element at the front of this queue.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

TryDequeue(T)

public bool TryDequeue(out T item)

Parameters

item

T
Outputs the removed element.

Returns

Type

Description

boolTrue if this queue was not empty.