|
I have the following code working perfectly in Firefox browser. //unity private var messages : String; Application.ExternalCall ("user", msg); //Called by the browser to display a message in unity function ReceiveMessage( msg:String ){ messages = msg + "n" + messages; } function OnGUI(){ //Output GUI.TextArea( Rect(10,62,280,378), messages); } function Update(){ } Browser function user( msg) { //alert( msg ); uniObj.msg( "scripts", "ReceiveMessage", "?php echo$user;?>" ); } but for some strange reason does not work in Google Chrome, and tried everything and I can not find the solution, anyone know why this happens? I appreciate your help.
(comments are locked)
|

Mac or PC?
It works in firefox, internet explorer, safari for both Mac or PC, but Google Chrome does not work on either platform