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

public static void SetStaticStringField(IntPtr clazz, IntPtr fieldID, string val);

Description

This function ets the value of a static field of an object.

This is a convenience function that calls SetStaticObjectField() with the same parameters, but performs the necessary marshalling of the string value.

See Also: AndroidJNI.SetStaticObjectField.