IEnumerator DrawAimTrajectory() { while (aiming) { Tuple <Vector2, bool> forceAndType = CalculateForce(); _points = _pathway.GetTrajectory(ball.transform.position, forceAndType.Item1); _pathway.DrawTrajectory(trajectoryShow, _points, forceAndType.Item2 ? tensionAngleSpread : 0f); DrawElastic(ball.transform.position); yield return(new WaitForEndOfFrame()); } }