private void TakeAction() { positionModifier.DeltaPosition = Time.deltaTime * MoveDirection(trend) * speed.Value; positionModifier.TakeEffect(); animatorModifier.TakeEffect(); }
private void TakeAction() { positionModifier.DeltaPosition = Time.deltaTime * direction * (speed.Value + accedlerate); positionModifier.TakeEffect(); animatorModifier.TakeEffect(); }