Quantcast
Channel: Questions in topic: "unitywebplayer"
Viewing all articles
Browse latest Browse all 452

A question about Unity Web Player

$
0
0
There was a problem with the use of the Web Player.> u.getUnity().SendMessage() you can pass the required parameters,but is undefined when outputting SendMessage.I want to pass the continuously updated variables to Unity,However, SendMessage implements only one parameter pass var data = "{\"data\":[{\"x_coordinate\":\"-6.2100000000\",\"y_coordinate\":\"10.5400000000\",\"z_coordinate\":\"1.5000000000\"}]}"; function ReceiveData() { u.getUnity().SendMessage("ReceiveForWebManager","ReceiveDataForWeb",data); console.log(SendMessage); }

Viewing all articles
Browse latest Browse all 452

Trending Articles