Version: 2023.1

UnsafeUtility.ReleaseGCObject

切换到手册
public static void ReleaseGCObject (ulong gcHandle);

描述

释放之前由 UnsafeUtility.PinGCObjectAndGetAddress 获取的 GC 对象句柄。