public void Initialize() { tileType = TilesManager.RandomizeTileType(); tileSprite = TilesManager.AddTypeSprite(tileType); GetComponent <SpriteRenderer>().sprite = tileSprite; }