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");
}
}

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 41037e5923310ee4fb43e2da9485d6dc
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData: