Documentation

Unity Engine

Unity Engine

AllocObject(nint)

Allocates a new Java object without invoking any of the constructors for the object.
Read time 1 minuteLast updated 2 months ago

Definition

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

AllocObject(IntPtr)

public static nint AllocObject(nint clazz)

Parameters

clazz

Returns

Type

Description

IntPtr

Remarks