예제 #1
0
 public override void Start()
 {
     base.Start();
     verticesDraggablesTopDown = GetComponent <VerticesDraggablesTopDown> ();
     polygonCreator            = GetComponent <PolygonCreator> ();
     OnVerticesChangeState(false);
 }
예제 #2
0
 public void PointsReady(Vector2[] points)
 {
     polygonCreator.Create(points);
     verticesDraggablesTopDown = GetComponent <VerticesDraggablesTopDown> ();
     verticesDraggablesTopDown.Init();
 }