docs.unity3d.com
    Show / Hide Table of Contents

    Method GetEntityOffsets

    GetEntityOffsets(Int32, out Int32)

    Note this function will always return a pointer even if the given type has no Entity offsets. Always check/iterate over the returned pointer using the returned count

    Declaration
    public static TypeManager.EntityOffsetInfo*GetEntityOffsets(int typeIndex, out int count)
    Parameters
    Type Name Description
    Int32 typeIndex
    Int32 count
    Returns
    Type Description
    TypeManager.EntityOffsetInfo*
    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