CallStaticFloatMethod
Invokes the specified \<tt\>methodID\</tt\> static method on a Java object, optionally passing in an array of arguments (\<tt\>args\</tt\>).
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
CallStaticFloatMethod(IntPtr, IntPtr, jvalue[])
Invokes the specified \<tt\>methodID\</tt\> static method on a Java object, optionally passing in an array of arguments (\<tt\>args\</tt\>).
public static float CallStaticFloatMethod(IntPtr clazz, IntPtr methodID, jvalue[] args)
Parameters
Returns
Type | Description |
|---|---|
| float |
Remarks
Additional Resources: Java Native Interface Specification (Oracle)
CallStaticFloatMethod(IntPtr, IntPtr, Span<jvalue>)
Invokes the specified \<tt\>methodID\</tt\> static method on a Java object, optionally passing in an array of arguments (\<tt\>args\</tt\>).
public static float CallStaticFloatMethod(IntPtr clazz, IntPtr methodID, Span<jvalue> args)
Parameters
Returns
Type | Description |
|---|---|
| float |
Remarks
Additional Resources: Java Native Interface Specification (Oracle)