Пример #1
0
    private IEnumerator TakeSteps()
    {
        while (_charController.velocity != Vector3.zero)
        {
            yield return(new WaitForSeconds(0.47f));

            _sfx.Step();
        }

        _moving = false;
    }