Documentation

Unity Engine

Download Unity

Unity Engine

GetFloatField(nint, nint)

Returns the value of an instance (nonstatic) field of an object.
Read time 1 minuteLast updated 2 months ago

Definition

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

GetFloatField(IntPtr, IntPtr)

public static float GetFloatField(nint obj, nint fieldID)

Parameters

The Java object that declares the field.

fieldID

The ID of the field.

Returns

Type

Description

floatThe value of the field.

Remarks