You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create 1 plain vanilla script's function in your public/index.html
save the data that is sent from unity in js global variable under window object <script> function getUnityData(jsonObj) { window.jsonData = jsonObj; } </script>
get the data using computed property in your vue component... or if you want to read it in interval, you can use setInterval() inside your mounted
Hi,
I need to calling a function in my vue component from Unity scripts. What is the best way to do that?
Here, there is a exemple with React: https://npm.taobao.org/package/react-native-unity-webgl
If you know a solution to do the same thing in Vue ...
Thanks in advance.
The text was updated successfully, but these errors were encountered: