AndroidJNI

AndroidJNI.GetCharArrayElement 获取字符数组元素

static function GetCharArrayElement (array : IntPtr, index : int) : Char

Description描述

Returns the value of one element of a primitive array.

返回一个基本数组一个元素的值。

This function is a special case of GetCharArrayRegion(), called with region size set to 1.

这个函数是一个特殊情况的GetCharArrayRegion(),就是region大小设置为1时。

参见: Java Native Interface Specification (Oracle)

最后修改:2011年4月15日 Friday 13:07

本脚本参考基于Unity 3.4.1f5

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