Version: 2023.2
언어: 한국어

UnsafeUtility.PinGCArrayAndGetDataAddress(System.Array,ulong)

매뉴얼로 전환

설명

Keeps a strong GC reference to the object and pins it. The object is guranteed to not move its memory location in a moving GC. Returns the address of the first element of the array.

Additional resources: UnsafeUtility.ReleaseGCObject.