文档

Unity Engine

Unity Engine

CallStaticFloatMethod

Invokes the specified \<tt\>methodID\</tt\> static method on a Java object, optionally passing in an array of arguments (\<tt\>args\</tt\>).
阅读时间1 分钟最后更新于 1 个月前

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(nint clazz, nint methodID, jvalue[] args)

Parameters

clazz


methodID


args

jvalue[]

Returns

Type

Description

float

Remarks

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(nint clazz, nint methodID, Span<jvalue> args)

Parameters

clazz


methodID


Returns

Type

Description

float

Remarks