文档

Unity Engine

Unity Engine

GetStaticBooleanField(nint, nint)

Returns the value of a static field of an object.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

GetStaticBooleanField(IntPtr, IntPtr)

public static bool GetStaticBooleanField(nint clazz, nint fieldID)

Parameters

clazz

The Java class that declares the static field.

fieldID

The ID of the field.

Returns

Type

Description

boolThe value of the static field.

Remarks