Created
August 21, 2012 12:03
-
-
Save anchan828/3414930 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class NewBehaviourScript : MonoBehaviour | |
{ | |
public GUIStyle Btn; | |
void OnGUI () | |
{ | |
if (GUI.Button (new Rect (Screen.width - 124, Screen.height - 64, 120, 60), "", Btn)) { | |
Application.LoadLevel ("Hoge"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment