Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetLongField(nint, nint, long)

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

SetLongField(IntPtr, IntPtr, long)

public static void SetLongField(nint obj, nint fieldID, long val)

Parameters

The Java object that declares the field.

fieldID

The ID of the field.

val

The value to assign to the field.

Remarks