お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close必要に応じてメソッドの引数(args
)の配列を渡すことにより、methodID
の指定によってJavaオブジェクトのstaticメソッドを実行します。
これは同じパラメータでCallStaticObjectMethod()を呼び出す便利な関数ですが、結果から管理された文字列を作成します。 See Also: AndroidJNI.CallStaticObjectMethod.