public override void PickUp() { if (item.CanBePickedUp()) { item.PickedUp(); if (CollectionManager.ins != null) { CollectionManager.ins.PickedUpItem(item); } Destroy(gameObject); } }
public override void PickUp() { if (item.CanBePickedUp()) { item.PickedUp(); if (CollectionManager.ins != null) { CollectionManager.ins.PickedUpItem(item); } Destroy(gameObject); } }