docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Constructor ActionSegment

    ActionSegment(T[])

    Construct an ActionSegment<T> with just an actionArray. The Offset will be set to 0 and the Length will be set to actionArray.Length.

    Declaration
    public ActionSegment(T[] actionArray)
    Parameters
    Type Name Description
    T[] actionArray

    The action array to use for the this segment.

    ActionSegment(T[], int, int)

    Construct an ActionSegment<T> with an underlying array and offset, and a length.

    Declaration
    public ActionSegment(T[] actionArray, int offset, int length)
    Parameters
    Type Name Description
    T[] actionArray

    The underlying array which this segment has a view into

    int offset

    The zero-based offset into the underlying array.

    int length

    The length of the segment.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023