public void StatePickUpAnimation(ItemBehaviour itemBehaviour) { InteractableItem = itemBehaviour; SetState(State.PickUpAnimation); _animator.Play("Base Layer.PickUpAnimation"); AnimationPlayTimer.StartTimer(itemBehaviour.PickUpTime); }
public void StateCraftTrapAnimation(TrapBehaviour trapBehaviour) { InteractableItem = trapBehaviour; SetState(State.CraftTrapAnimation); _animator.Play("Base Layer.CraftTrapAnimation"); AnimationPlayTimer.StartTimer(trapBehaviour.TrapInfo.BaseTrapData.CraftingTime); }