SetBooleanArrayElement
Sets the boolean value of one element in a primitive array.
Read time 1 minuteLast updated 6 days ago
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)