Version: 1.0
LanguageEnglish
  • C#

UnityEngine.OpenHarmonyJSModule

Description

OpenHarmony module allows you to call JavaScript code.

Classes

OpenHarmonyJSAPIAPIs that enable user to call OpenHarmony JavaScript from Unity scripting (C#).
OpenHarmonyJSArrayBufferOpenHarmonyJSArrayBuffer is the Unity representation of a generic instance of a JavaScript array buffer.
OpenHarmonyJSBaseOpenHarmonyJSBase is the parent of OpenHarmonyJSClass and OpenHarmonyJSObject.
OpenHarmonyJSCallbackOpenHarmonyJSCalback is the Unity representation of a JavaScript Function.
OpenHarmonyJSClassOpenHarmonyJSCalss is the Unity representation of a generic instance of a JavaScript class.
OpenHarmonyJSHelperOpenHarmonyJSHelper helps to convert type between JavaScript and C#.
OpenHarmonyJSObjectOpenHarmonyJSObject is the Unity representation of a generic instance of a JavaScript object.
PermissionCallbacksContains callbacks invoked when permission request is executed using Permission.RequestUserPermission.

Structs

PermissionStructure describing a permission that requires user authorization.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答