This version of Unity is unsupported.

NativeSliceUnsafeUtility.GetUnsafePtr

Declaration

public static void* GetUnsafePtr(NativeSlice<T> nativeSlice);

Parameters

nativeSlice NativeSlice.

Returns

void* Memory pointer.

Description

Get NativeSlice memory buffer pointer. Checks whether the native array can be written to.