コード例 #1
0
    private IEnumerator AnimDuration()
    {
        _Animator.speed = 0;
        for (float i = 0f; i < AnimHoldingTime; i += Time.deltaTime * Time.timeScale)
        {
            _HitBox.ClearCollidedObjects();
            yield return(null);
        }

        _Animator.speed  = 1;
        _HurtBox.enabled = true;
        _Owner.PatternTimerReStart();
    }