Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Peek()

Returns the element at the front of this queue without removing it.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public T Peek()

Returns

Type

Description

TThe element at the front of this queue.