Skip to content

Commit

Permalink
added credits, and tried to add background again
Browse files Browse the repository at this point in the history
  • Loading branch information
Aalaizah committed Dec 11, 2014
1 parent 08d0f04 commit 5100da3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file modified UnityFiles/Assets/MainMenu.unity
Binary file not shown.
3 changes: 2 additions & 1 deletion UnityFiles/Assets/Scripts/mainMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ void OnGUI()
else if(ShowCredits == true)
{
GUI.Box(new Rect(Screen.width- (Screen.width-20), Screen.height/20, Screen.width- 100, Screen.height-10),credit, skin);
if(GUI.Button(new Rect(Screen.width- (Screen.width-20), Screen.height - (Screen.height-100), Screen.width-10, Screen.height-10),"Back",skin));

if(GUI.Button(new Rect(Screen.width - (float)(Screen.width*.1), Screen.height - (float)(Screen.height*.1), Screen.width - 10, Screen.height/4), "Back",skin))
{
ShowCredits = false;
}
Expand Down

0 comments on commit 5100da3

Please sign in to comment.