Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetShortField(nint, nint, short)

Sets the value of an instance field of the specified object.
Read time 1 minuteLast updated 5 days ago

Definition

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

SetShortField(IntPtr, IntPtr, short)

public static void SetShortField(nint obj, nint fieldID, short val)

Parameters

The Java object that declares the field.

fieldID

The ID of the field.

The value to assign to the field.

Remarks