private void InitTile() { SetType(); ForceAlignment(); InitNeighborTiles(); TileMapper.AddTileToXMap(this); TileMapper.AddTileToZMap(this); }
private IEnumerator CreateMap() { yield return(new WaitForSeconds(5f)); TileMapper.SetAllNeighbors(); }