ドキュメント

Unity Engine

Download Unity

Unity Engine

NewWeakGlobalRef(nint)

Creates a new global weak reference to the object referred to by the \<tt\>obj\</tt\> argument.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

NewWeakGlobalRef(IntPtr)

public static nint NewWeakGlobalRef(nint obj)

Parameters

The reference to convert.

Returns

Type

Description

IntPtrThe new reference, or null if the object referred to by the original reference has already been garbage collected.

Remarks