void CommandCompleted(Node node) { NotificationQueue.PushNotification("Vous avez complété une commande !"); Objectives currentObjectives = Game.Map.cash; int income = currentObjectives.OrderBaseReward + (currentObjectives.RewardPerPizza * node.pizza.Count); currentObjectives.IncomeCash(income); for (int i = 0; i < node.pizza.Count; i++) { Destroy(node.pizza[i].gameObject); } }