public void AddRightSlingshotDragPoints(RubberComponent rubberComponent) { var dp = rubberComponent.DragPoints.ToList(); dp.Insert(8, new DragPointData(657.1f, 1308.5f)); dp.Insert(9, new DragPointData(648.8f, 1338.4f)); rubberComponent.DragPoints = dp.ToArray(); }
public void AddLeftSlingshotDragPoints(RubberComponent rubberComponent) { var dp = rubberComponent.DragPoints.ToList(); dp.Insert(13, new DragPointData(219.8f, 1342.7f)); dp.Insert(14, new DragPointData(209.1f, 1305.8f)); rubberComponent.DragPoints = dp.ToArray(); }
public void AddRightSlingshotDragPoints(RubberComponent rubberComponent) { var dp = rubberComponent.DragPoints.ToList(); dp.RemoveAt(4); dp.RemoveAt(5); dp.Insert(4, new DragPointData(661.6f, 1583f)); dp.Insert(5, new DragPointData(657f, 1595.7f)); rubberComponent.DragPoints = dp.ToArray(); }
public void AddLeftSlingshotDragPoints(RubberComponent rubberComponent) { var dp = rubberComponent.DragPoints.ToList(); dp.RemoveAt(9); dp.RemoveAt(10); dp.Insert(9, new DragPointData(208.9f, 1597.3f)); dp.Insert(10, new DragPointData(202.9f, 1580.6f)); rubberComponent.DragPoints = dp.ToArray(); }