Exemple #1
0
 private void OnGUI()
 {
     if (GUILayout.Button("EXP + 10"))
     {
         LevelUp.AddExperience(10);
     }
     if (GUILayout.Button("EXP + 100"))
     {
         LevelUp.AddExperience(100);
     }
     if (GUILayout.Button("EXP + 1000"))
     {
         LevelUp.AddExperience(1000);
     }
     if (GUILayout.Button("EXP + 10000"))
     {
         LevelUp.AddExperience(10000);
     }
 }