文档

Unity Engine

Unity Engine

GetSByteField(nint, nint)

Returns the value of an instance (nonstatic) field of an object.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

GetSByteField(IntPtr, IntPtr)

public static sbyte GetSByteField(nint obj, nint fieldID)

Parameters

The Java object that declares the field.

fieldID

The ID of the field.

Returns

Type

Description

sbyteThe value of the field.

Remarks