private void ItemPickedUpEventHandler(object sender, ItemPickedEventArgs e) { this.itemPickedCanvas.enabled = true; this.itemImageGUI.sprite = e.ItemSprite; this.itemTextGUI.text = e.ItemName; this.itemImageGUI.color = e.Tint; }
private void OnItemPickedUp(ItemPickedEventArgs e) { this.ItemPickedUp?.Invoke(this, e); }