Class ArrayExtensions | Collections | 0.5.2-preview.8
docs.unity.cn
    Show / Hide Table of Contents

    Class ArrayExtensions

    Inheritance
    Object
    ArrayExtensions
    Namespace: Unity.Collections
    Syntax
    public static class ArrayExtensions

    Methods

    IndexOf<T>(NativeArray<T>, T)

    Declaration
    public static int IndexOf<T>(this NativeArray<T> array, T value)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    NativeArray<T> array
    T value
    Returns
    Type Description
    Int32
    Type Parameters
    Name Description
    T
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX