public override GameObject Spawn() { var calculator = new TrajectoryVelocityPhysics(); velocity = calculator.GetTrajectoryVelocity(points); position = points.start; #if UNITY_EDITOR DebugUtility.DrawLine(points.start, points.top, Color.red); DebugUtility.DrawLine(points.top, points.end, Color.yellow); #endif return(base.Spawn()); }