HarmonyOS unity内三方库问题?

unity内三方库UniWebView、AVProVideo、NativeCamera、NativeGallery未HarmonyOS 化,目前也没有拓展计划,按需求场景找了HarmonyOS 原生的kit能力去替换,能否提供原生能力在unity中使用的说明文档或者有无其他的替换方案

阅读 738
1 个回答

在HarmonyOS 上的unity开发,可以看下unity的官方指导:

https://docs.unity.cn/cn/tuanjiemanual/Manual/openharmony.html

AVProVideo可以评估下能不能用VideoPlayer替代,

https://docs.unity.cn/cn/tuanjiemanual/Manual/VideoPlayer.html

NativeGallery已经做了HarmonyOS 化

https://gitee.com/WayneHalak/unity-native-gallery

NativeCamera、是开源软件,建议做HarmonyOS 化适配。

构建unity三方库的指导:

https://gitee.com/swallowguo/tuanjie-engine-oh/tree/master

使用C\#插件的指导:

https://docs.unity.cn/cn/tuanjiemanual/Manual/openharmony-plugins-typescript-code-from-c-sharp.html

UniWebView应该不需要适配,直接可以在项目里使用的

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进