Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetFloatField(nint, nint, float)

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

Definition

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

SetFloatField(IntPtr, IntPtr, float)

public static void SetFloatField(nint obj, nint fieldID, float val)

Parameters

The Java object that declares the field.

fieldID

The ID of the field.

The value to assign to the field.

Remarks