コード例 #1
0
 public override void OnAddSegment(Vector2 pos)
 {
     ControllPoints.Add(pos);
 }
コード例 #2
0
 public override void OnAddSegment(Vector2 pos)
 {
     ControllPoints.Add(ControllPoints[ControllPoints.Count - 1] * 2 - ControllPoints[ControllPoints.Count - 2]);
     ControllPoints.Add((ControllPoints[ControllPoints.Count - 1]) * 0.5f);
     ControllPoints.Add(pos);
 }