docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryPush

    TryPush(string)

    Try to push a new element in the queue.

    Declaration
    public bool TryPush(string v)
    Parameters
    Type Name Description
    string v

    Element to push in the queue.

    Returns
    Type Description
    bool

    True if the new element could be pushed in the queue. False if reserved memory was not enough.

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