Added start screen button and text.
This commit is contained in:
parent
5d203d1e9d
commit
2639e11238
9 changed files with 3278 additions and 618 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue