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.SetFloatField

public static void SetFloatField(IntPtr obj, IntPtr fieldID, float val);

Description

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