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