Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetIntField(nint, nint, int)

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

Definition

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

SetIntField(IntPtr, IntPtr, int)

public static void SetIntField(nint obj, nint fieldID, int val)

Parameters

The Java object that declares the field.

fieldID

The ID of the field.

val

The value to assign to the field.

Remarks