AndroidJNI

AndroidJNI.CallStaticShortMethod 调用静态短整数方法

static function CallStaticShortMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : Int16

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:38

本脚本参考基于Unity 3.4.1f5

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