docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PushFront

    PushFront(T)

    Pushes a new element to the front of the buffer. Front()/this[0] will now return this element.

    When the buffer is full, the element at Back()/this[Size-1] will be popped to allow for this new element to fit.

    Declaration
    public void PushFront(T item)
    Parameters
    Type Name Description
    T item

    Item to push to the front of the buffer

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)