摘要: unity中js脚本与c#脚本互相调用test1.jsfunctionOnGUI(){if(GUI.Button(Rect(25,25,100,30),"JSCallCS")){varc=gameObject.GetComponent("test2");c.PrintTest();}}functio... 阅读全文
posted @ 2015-11-03 13:35 IT1990 阅读(1120) 评论(0) 推荐(0) 编辑