docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ArrayUtilities

    Utility class for converting Array types from one type to another without copying.

    Inheritance
    object
    ArrayUtilities
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Simulation
    Assembly: solution.dll
    Syntax
    public static class ArrayUtilities

    Methods

    Name Description
    Allocate<T>(int)
    Cast<T>(Array)

    Casts an input array to type T if supported by the cast map.

    Count<T>(T[])

    Returns actual count of a casted array.

    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)