docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PushBack

    PushBack(T)

    Pushes a new element to the back of the buffer. Back()/this[Size-1] will now return this element.

    When the buffer is full, the element at Front()/this[0] will be popped to allow for this new element to fit.

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

    Item to push to the back 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)