- Home /
External Javascript call in Unity WebGL
Hi, I have a project where I need to be able to communicate with a Unity WebGL application from the page it is located in. For example, If I click a button "View Model," the unity should load the corresponding scene or move the player to the model (depending on final implementation).
So that leads me to two questions:
Is it possible to call functions in Unity from an external application such as the page the player is rendered on?
Is it possible to edit the PlayerPrefs from an external application such as the page the player is rendered on?
I know that it is possible with the WebPlayer, but I didn't see anything in the Manual about it.
Unity 5.1.0f3 (64bit)
Thanks in advance!
Answer by fafase · Jul 10, 2015 at 08:46 AM
Thanks! I ended up finding that shortly after submitting haha
Your answer
Follow this Question
Related Questions
(WebGL) Activate Unity Functions with HTML/Javascript 1 Answer
PlayerPrefs not saving my variable value for HighScore System 3 Answers
WebGL builds: decipher jsStackTrace errors with symbol map? 1 Answer
Uploading webgl version of the game error 1 Answer
Can someone help me fix my Javascript for Flickering Light? 6 Answers