Added start screen button and text.

This commit is contained in:
Joey Payne 2014-04-27 19:49:57 -06:00
commit 2639e11238
9 changed files with 3278 additions and 618 deletions

View file

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