August 2, 2013 · 0 Comments
using UnityEngine; using System.Collections; public class startGame : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnGUI(){ GUI.Label(new Rect(0,0,100,100),"JUMP GAME"); if(GUI.Button(new Rect(250,120,100,30),"New Game")){ Application.LoadLevel("Jumpgame"); } } }