Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AndroidJNI.SetStaticObjectField

Declaration

public static void SetStaticObjectField(IntPtr clazz, IntPtr fieldID, IntPtr val);

Description

Sets the value of a static field in the specified object.

The value to set is a reference to either a java.lang.Object, or a subclass thereof.

Additional resources: Java Native Interface Specification (Oracle)