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

public static void SetShortField(IntPtr obj, IntPtr fieldID, short val);

Description

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