Method PickUp
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
PickUp(ItemBehaviour, Action)
Pick up an item, moving to it if necessary
public static bool PickUp(ItemBehaviour item, Action onPickedUp = null)
Parameters
item
ItemBehaviourItem to pick up
onPickedUp
Action
Returns
- bool
True if the item is being picked up, false if the hero is moving to the item