public static void retirerEvenement(string nomEvenement, UnityAction <int, string> action) { ItemEvent evenement = null; dictionnaireEvenement.TryGetValue(nomEvenement, out evenement); if (evenement != null) { evenement.RemoveListener(action); } }
public void RemoveOnAddItemListener(UnityAction <Item, IBackpack> listener) { OnAddItem.RemoveListener(listener); }