Пример #1
0
    public void SetAnimation(ShopaholicAnimations animation, bool stopOthers = false)
    {
        if (stopOthers)
        {
            StopAnimations();
        }
        _animator.SetBool(animation.ToString(), true);

        return;
    }
Пример #2
0
 public bool IsState(ShopaholicAnimations animation)
 {
     return(_animator.GetBool(animation.ToString()));
 }