기술 자료

Unity Engine

Unity Engine

IsEmpty()

Returns true if this queue is empty.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public readonly bool IsEmpty()

Returns

Type

Description

boolTrue if this queue has no items or if the queue has not been constructed.

Remarks

Note that getting the count requires traversing the queue's internal linked list of blocks. Where possible, cache this value instead of reading the property repeatedly.