Documentation

Unity Engine

Download Unity

Unity Engine

SetStaticShortField(nint, nint, short)

Sets the value of a static field in the specified object.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

SetStaticShortField(IntPtr, IntPtr, short)

public static void SetStaticShortField(nint clazz, nint fieldID, short val)

Parameters

clazz

The Java class that declares the static field.

fieldID

The ID of the field.

The value to assign to the field.

Remarks