예제 #1
0
        private IEnumerator AimPhase(IPushable pushable, AimLogic aimLogic)
        {
            _visuals.Indicator.enabled = true;
            while (!pushable.IsPushed())
            {
                AimState state = aimLogic.GetCurrentAimState(Time.time);

                _visuals.Indicator.UpdateState(state);
                yield return(null);
            }

            pushable.IsPushed();
            yield return(null);
        }