SetBooleanArrayElement
Sets the boolean value of one element in a primitive array.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
SetBooleanArrayElement(IntPtr, int, byte)
Sets the boolean value of one element in a primitive array.
public static void SetBooleanArrayElement(IntPtr array, int index, byte val)
Parameters
Remarks
This function is a special case of SetBooleanArrayRegion(), called with region size set to 1.
This overload is obsolete. Use the overload that takes the bool \<tt\>val\</tt\> parameter instead.
Additional Resources: Java Native Interface Specification (Oracle)
SetBooleanArrayElement(IntPtr, int, bool)
Sets the boolean value of one element in a primitive array.
public static void SetBooleanArrayElement(IntPtr array, int index, bool val)
Parameters
Remarks
This function is a special case of SetBooleanArrayRegion(), called with region size set to 1.
Additional Resources: Java Native Interface Specification (Oracle)