using UnityEngine;
using System.Collections;
public class code : MonoBehaviour
{
void OnGUI()
{
GUI.Button(new Root(Screen.width/2.5,Screen.height/3,Screen.width/5,Screen.height/10), "Play"))
{
Application.LoadLevel(0);
}
GUI.Button(new Root(Screen.width/2.5,Screen.height/3,Screen.width/5,Screen.height/10), "Quit"))
{
Application.Quit();
}
}
}
↧