ドキュメント

Unity Engine

Download Unity

Unity Engine

ToReflectedField(nint, nint, bool)

Converts a field ID derived from cls to a \<tt\>java.lang.reflect.Field\</tt\> object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

ToReflectedField(IntPtr, IntPtr, bool)

public static nint ToReflectedField(nint clazz, nint fieldID, bool isStatic)

Parameters

clazz

The Java class that declares the field.

fieldID

The ID of the field.

isStatic

Set to true for a static field. Set to false for an instance (nonstatic) field.

Returns

Type

Description

IntPtrA local reference to the corresponding java.lang.reflect.Field object.

Remarks