Fixed title scene again

This commit is contained in:
shakurass 2014-04-27 16:06:38 -06:00
commit a12131e77f
5 changed files with 113 additions and 111 deletions

View file

@ -0,0 +1,21 @@
using UnityEngine;
using System.Collections;
public class StartHandler : MonoBehaviour {
public Texture normalButton;
public Texture hoverButton;
public GUITexture guiButton;
void OnMouseEnter() {
guiButton.texture = hoverButton;
}
void OnMouseExit() {
guiButton.texture = normalButton;
}
void OnMouseDown() {
Application.LoadLevel ("Main");
}
}