Example #1
0
        private void InitTile()
        {
            SetType();
            ForceAlignment();
            InitNeighborTiles();

            TileMapper.AddTileToXMap(this);
            TileMapper.AddTileToZMap(this);
        }
Example #2
0
        private IEnumerator CreateMap()
        {
            yield return(new WaitForSeconds(5f));

            TileMapper.SetAllNeighbors();
        }