ドキュメント

Unity Engine

Download Unity

Unity Engine

AllocObject(nint)

Allocates a new Java object without invoking any of the constructors for the object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

AllocObject(IntPtr)

public static nint AllocObject(nint clazz)

Parameters

clazz

The Java class to instantiate.

Returns

Type

Description

IntPtrA local reference to the newly allocated object.

Remarks