NativeArrayUnsafeUtility.GetUnsafeReadOnlyPtr
public static void* GetUnsafeReadOnlyPtr(NativeArray<T> nativeArray);
Parameters
| nativeArray | NativeArray. |
Returns
void* NativeArray memory buffer pointer.
Description 描述
Gets the pointer to the memory buffer owner by the NativeArray, performing checks on whether the native array can be read from.