Version: 2023.1
언어: 한국어

UnsafeUtility.PinGCObjectAndGetAddress

매뉴얼로 전환
public static void* PinGCObjectAndGetAddress (object target, out ulong gcHandle);

설명

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 memory location of the object.

See Also: UnsafeUtility.ReleaseGCObject.