Exemple #1
0
 public void DisplayFinalSetup()
 {
     GUI.Label(new Rect(Screen.width / 3, 35, 250, 100), "Character name: " + GameInformation.PlayerName);
     GUI.Label(new Rect(Screen.width / 3, 50, 250, 100), GameInformation.PlayerClass.ClassName);
     GUI.Label(new Rect(Screen.width / 3, 80, 250, 100), ClassAttributes(classSelection));
     GUI.Label(new Rect(Screen.width / 3, 180, 250, 100), "Is this correct?");
     if (GUI.Button(new Rect(Screen.width / 3, 200, 100, 25), "Yes"))
     {
         GameInformation.SetupInformation();
         AutoFade.LoadLevel(1, 0, 1, Color.black);
     }
     if (GUI.Button(new Rect(Screen.width / 2, 200, 100, 25), "No"))
     {
         CreatePlayerGUI.currentState = CreatePlayerGUI.CreatePlayerStates.CLASSSELECTION;
     }
 }