# QQ群:476842922(欢迎加群讨论学习)
using UnityEngine;
using System.Collections;
public class BasicUI : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnGUI(){
if (GUI.Button (new Rect (10, 10, 40, 20), "test")) {
Debug.Log ("kkkkkkkkkkk");
}
}
}