Version: 2019.4

AndroidJavaClass

class in UnityEngine

/

継承:AndroidJavaObject

マニュアルに切り替える

説明

AndroidJavaClass は Unity での java.lang.Class の総称的なインスタンスです。

Note: this API can be used from custom thread, but requires that thread to be attached to JVM first, see AndroidJNI.AttachCurrentThread.

コンストラクタ

AndroidJavaClassクラス名から AndroidJavaClass を作成します。

継承メンバー

Public 関数

Callstatic でない Java メソッドを呼び出します
CallStaticstatic の Java メソッドを呼び出します
DisposeIDisposable のコールバック
Getstatic でないフィールドの値を取得します
GetRawClassRetrieves the raw jclass pointer to the Java class.Note: Using raw JNI functions requires advanced knowledge of the Android Java Native Interface (JNI). Please take note.
GetRawObjectRetrieves the raw jobject pointer to the Java object.Note: Using raw JNI functions requires advanced knowledge of the Android Java Native Interface (JNI). Please take note.
GetStaticstatic のフィールドの値を取得します
Setstatic でないフィールドに値を設定する
SetStaticstatic のフィールドにオブジェクト型の値を設定する
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961