//FoundItem overload public static void AddInvoker(DropItem item) { //add new tip to list //then add a listener to the tip foundInvokers.Add(item); foreach (UnityAction <DropItem> listener in foundListeners) { item.AddListener(listener); } }
//FoundItem overload public static void AddInvoker(DropItem item) { //add new tip to list //then add a listener to the tip foundInvokers.Add(item); foreach (UnityAction <DropItem> listener in foundListeners) { item.AddListener(listener); } }