示例#1
0
    public static void retirerEvenement(string nomEvenement, UnityAction <int, string> action)
    {
        ItemEvent evenement = null;

        dictionnaireEvenement.TryGetValue(nomEvenement, out evenement);
        if (evenement != null)
        {
            evenement.RemoveListener(action);
        }
    }
示例#2
0
 public void RemoveOnAddItemListener(UnityAction <Item, IBackpack> listener)
 {
     OnAddItem.RemoveListener(listener);
 }