예제 #1
0
    public IEnumerator Aim(MovementController ctr)
    {
        TurretController ltr = ctr as TurretController;

        ltr.aimStartTime = Time.time;
        if (ltr.target == null)
        {
            ltr.target = this.snake;
        }

        yield return(ltr.AimAtTarget());
    }