摘要:
using UnityEngine;using System.Collections;public class NewBehaviourScript : MonoBehaviour {void OnGUI(){if(GUI.Button(new Rect(10,10,100,30),"点击")){Application.ExternalCall ("MyFunction2", "Hello from Unity!");//web窗体显示Hello from Unity}}}保存 发布成webplay形式在html中Unity Web 阅读全文
posted @ 2014-02-11 14:41
古刹红罗
阅读(198)
评论(0)
推荐(0)

浙公网安备 33010602011771号