Class NativeArrayExtensions
Inheritance
System.Object
NativeArrayExtensions
Syntax
public static class NativeArrayExtensions
Methods
Contains<T, U>(NativeArray<T>, U)
Declaration
public static bool Contains<T, U>(this NativeArray<T> array, U value)
where T : struct, IEquatable<U>
Parameters
| Type |
Name |
Description |
| NativeArray<T> |
array |
|
| U |
value |
|
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters
Contains<T, U>(NativeList<T>, U)
Declaration
public static bool Contains<T, U>(this NativeList<T> array, U value)
where T : struct, IEquatable<U>
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters
IndexOf<T, U>(NativeArray<T>, U)
Declaration
public static int IndexOf<T, U>(this NativeArray<T> array, U value)
where T : struct, IEquatable<U>
Parameters
| Type |
Name |
Description |
| NativeArray<T> |
array |
|
| U |
value |
|
Returns
| Type |
Description |
| System.Int32 |
|
Type Parameters
IndexOf<T, U>(NativeList<T>, U)
Declaration
public static int IndexOf<T, U>(this NativeList<T> array, U value)
where T : struct, IEquatable<U>
Parameters
Returns
| Type |
Description |
| System.Int32 |
|
Type Parameters