AndroidJNI

AndroidJNI.CallStaticVoidMethod 调用静态无类型方法

static function CallStaticVoidMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : void

Description描述

Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.

在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。

参见: Java Native Interface Specification (Oracle)

最后修改:2011年4月13日 Wednesday 20:43

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。