Version: 2023.1
言語: 日本語

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.

See Also: UnsafeUtility.ReleaseGCObject.