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
Returns
Type | Description |
|---|---|
| IntPtr |
Remarks
Additional Resources: Java Native Interface Specification (Oracle)