Documentation

Unity Engine

Download Unity

Unity Engine

GetStaticShortField(nint, nint)

Returns the value of a static field of an object.
Read time 1 minuteLast updated a month ago

Definition

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

GetStaticShortField(IntPtr, IntPtr)

public static short GetStaticShortField(nint clazz, nint fieldID)

Parameters

clazz

The Java class that declares the static field.

fieldID

The ID of the field.

Returns

Type

Description

shortThe value of the static field.

Remarks