// Update is called once per frame void Update() { TestMethold(); UpdateState(); aniControl.ExecuteAnimations(); if (Distance(villagePoint.position, transform.position) < radiusVillage) { EnterState(TypeStateCharacter.Back); } }
// Update is called once per frame void Update() { aniControl.SpeedPercent = SpeedPercent; aniControl.IsAttack = IsAttackTest; aniControl.IsDash = IsDashTest; aniControl.IsAction = IsActionTest; aniControl.IsDead = IsDeadTest; aniControl.IsRise = IsRiseTest; aniControl.IsFakeDead = IsFakeDeadTest; aniControl.IsFall = IsFallTest; aniControl.ExecuteAnimations(); }