using System.Collections; using System.Collections.Generic; using UnityEngine; public class ItemPicker : MonoBehaviour { [SerializeField] ItemEventChannelSO _addItemEvent = default; public void PickItem(Item item) { Debug.Log("Pick Item"); if (_addItemEvent != null) _addItemEvent.RaiseEvent(item); } }