public Polygon polygon; // Setup in inspector

        #endregion Fields

        #region Methods

        void Start()
        {
            // Enumerate points.
            IEnumerator pointEnumerator = new PointEnumerator(polygon);
            while (pointEnumerator.MoveNext())
            {
                Debug.Log(pointEnumerator.Current);
            }
        }
        public Polygon polygon;         // Setup in inspector


        void Start()
        {
            // Enumerate points.
            IEnumerator pointEnumerator = new PointEnumerator(polygon);

            while (pointEnumerator.MoveNext())
            {
                Debug.Log(pointEnumerator.Current);
            }
        }