public void DeleteSegment(GameObject ball1, GameObject ball2) { trajectory.DeleteSegments(ball1, ball2); }