CopyObjectAddressToPtr(object, void*)
Assigns an object reference to a struct or pinned class.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
CopyObjectAddressToPtr(Object, void*)
public static void CopyObjectAddressToPtr(object target, void* dstPtr)
Parameters
Remarks
Additional Resources: UnsafeUtility.PinGCObjectAndGetAddress.