NativeArrayUnsafeUtility.GetUnsafePtr

public static void* GetUnsafePtr(NativeArray<T> nativeArray);

Parameters

nativeArrayNativeArray.

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 written to.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答