private void OnPickUpPicked(OnPickUpPickedEventArgs _args)
 {
     if (_args.pickup.GetPickupId.Equals("CoffeeKey"))
     {
         ToolTip.DisplayToolTip(UNLOCK_COFFEE_SHOP);
     }
 }
Exemple #2
0
 /// <summary>
 /// Adds a pickup to the actor invetory and sends a event when is the coffee key.
 /// </summary>
 /// <param name="_args"></param>
 private void OnPickUpPicked(OnPickUpPickedEventArgs _args)
 {
     if (GetOwner == _args.picker)
     {
         AddPickUpToInventory(_args.pickup);
     }
 }