Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UnsafeQueue<T>.ReadOnly

A read-only alias for the value of a UnsafeQueue. Does not have its own allocated storage.
Read time 1 minuteLast updated 10 days ago

Definition

public struct UnsafeQueue<T>.ReadOnly : IEnumerable<T>, IEnumerable

Properties

Property

Description

CountReturns the current number of elements in this queue.
IsCreatedWhether this container been allocated (and not yet deallocated).
this[]The element at an index.

Methods

Method

Description

GetEnumeratorReturns an enumerator over the items of this container.
IsEmptyReturns true if this queue is empty.