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); } }
private void ChangeDifficulty() { Debug.Log("Test3"); PlaylistManager.ChangeDifficulty(emplacementList); //Changer l'affichage }
private void RemoveGame() { Debug.Log("Test2"); PlaylistManager.RemoveGame(emplacementList); Destroy(gameObject); }