Added title scene

This commit is contained in:
shakurass 2014-04-27 15:06:17 -06:00
commit 76844a8da5
24 changed files with 4158 additions and 250 deletions

20
Assets/StartHandler.cs Normal file
View file

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