文档

Unity Engine

Unity Engine

NewObjectArray(int, IntPtr, IntPtr)

Constructs a new array holding objects in class \<tt\>clazz\</tt\>. All elements are initially set to \<tt\>obj\</tt\>.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static IntPtr NewObjectArray(int size, IntPtr clazz, IntPtr obj)

Parameters

size


clazz


Returns

Type

Description

IntPtr

Remarks