Using a Spiral Iterator

Spiral Iteractor

This is a simple example that shows how you can use a spiral iterator on a grid. When running the example, click on any cell to recenter the spiral.

Download the package below, and import it together with Grids in a new project. The example is in the scene SpiralIteratorTest.

SpiralIteratorExample.unitypackage

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top