GetSuperclass(nint)
If \<tt\>clazz\</tt\> represents any class other than the class \<tt\>Object\</tt\>, then this function returns the object that represents the superclass of the class specified by \<tt\>clazz\</tt\>.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
GetSuperclass(IntPtr)
public static nint GetSuperclass(nint clazz)
Parameters
Returns
Type | Description |
|---|---|
| IntPtr |
Remarks
If \<tt\>clazz\</tt\> specifies the class \<tt\>Object\</tt\>, or \<tt\>clazz\</tt\> represents an interface, this function returns \<tt\>NULL\</tt\>.
Additional Resources: Java Native Interface Specification (Oracle)