vue和webgl交互,解决loc大屏数据展示层使用vue,三维效果使用unity
总体思路:vue->unity
- 使用postmessage传数据到webgl中的index.html页面
- index.html中使用sendmessage调用unity内部方法
unity->vue - unity发送数据到jslib插件
- jslib插件发送数据到index.html
- index.html通过postmessage发送数据到vue
vue和webgl交互,解决loc大屏数据展示层使用vue,三维效果使用unity
总体思路:vue->unity