LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

AndroidJNI.SetBooleanField

public static void SetBooleanField(IntPtr obj, IntPtr fieldID, bool val);

Description

This function sets the value of an instance (nonstatic) field of an object.