This version of Unity is unsupported.

NativeSliceUnsafeUtility.GetUnsafePtr

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

Parameters

nativeSliceNativeSlice.

Returns

void* Memory pointer.

Description

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