ドキュメント

Unity Engine

Download Unity

Unity Engine

GetStaticFieldID(nint, string, string)

Returns the field ID for a static field of a class.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

GetStaticFieldID(IntPtr, string, string)

public static nint GetStaticFieldID(nint clazz, string name, string sig)

Parameters

clazz

The Java class to scan.

name

The name of the field, as declared in Java.

The JNI field signature.

Returns

Type

Description

IntPtrThe field ID, or zero if the field couldn't be found.

Remarks