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