摘要:
一、unity调用web的js函数在unity中写如下调用语句:Application.ExternalCall( "SayHello", "The game says hello!" );在html中定义函数如下function SayHello(args){ alert(args);}二、在web中用js调用unity对象函数在unity中定义函数如下,并将脚本绑定到名为Interface的GameObject中function createOutTask(){ GameObject.Find("CreateOutTask").G 阅读全文
posted @ 2013-04-19 22:20
寻梦丄天涯
阅读(3647)
评论(0)
推荐(0)

浙公网安备 33010602011771号