文档

Unity Engine

Unity Engine

NewGlobalRef(nint)

Creates a new global reference to the object referred to by the \<tt\>obj\</tt\> argument.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

NewGlobalRef(IntPtr)

public static nint NewGlobalRef(nint obj)

Parameters

Returns

Type

Description

IntPtr

Remarks