纳金网
标题:
請問Application.ExternalCall交互問題
[打印本页]
作者:
她。
时间:
2013-2-1 14:09
标题:
請問Application.ExternalCall交互問題
請問使用Application.ExternalCall這個funtion以後,如何在unity裏面獲取js return過來的結果?In Unity:
Application.ExternalCall ("MyFunction2", "Hello from Unity!");JS:
<script language="JavaScript" type="text/javascript">
<!--
// Using the above call from Unity, this will receive
// "Hello from Unity!" as the argument.
function MyFunction2( arg )
{
return arg;
}
-->
</script>
作者:
狂风大尉
时间:
2013-2-28 01:59
希望在新的一年里专心的学习好Unity!
欢迎光临 纳金网 (http://go.narkii.com/club/)
Powered by Discuz! X2.5