예제 #1
0
 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;
 }
예제 #2
0
 private void OnItemPickedUp(ItemPickedEventArgs e)
 {
     this.ItemPickedUp?.Invoke(this, e);
 }