Ejemplo n.º 1
0
 public void AddGame()
 {
     if (PlaylistManager.CanAddGame())
     {
         var microScript = Instantiate(interactibleIcon, content).GetComponent <ModifyGameIdPlaylist>();
         microScript.thisGame        = thisGame;
         microScript.emplacementList = PlaylistManager.currentList.Count;
         PlaylistManager.AddGame(thisGame, microScript);
     }
 }
Ejemplo n.º 2
0
 private void ChangeDifficulty()
 {
     Debug.Log("Test3");
     PlaylistManager.ChangeDifficulty(emplacementList);
     //Changer l'affichage
 }
Ejemplo n.º 3
0
 private void RemoveGame()
 {
     Debug.Log("Test2");
     PlaylistManager.RemoveGame(emplacementList);
     Destroy(gameObject);
 }