Random themes on tiles

Hello,

I want to use this asset for studies purpose: Pixel Adventure 1 | 2D Characters | Unity Asset Store

And I see on demo games, they have random themes on tiles. How to make like this one?

Sorry, but what is your actual question ?

Sorry, actually I don’t know how to say. But I will try to make it clearer.

Let’s say I have a 2d side scrolling level with using grass tile palette. I want to change that level from using grass palette with bricks palette (and this method doing inside a script). How to do that?

EDIT: I am sorry, that game is actually only changes background images, lol. I mistaken this as a whole palette.

You would load another sprite substituting the current sprite for the tile palette in the assets.

Is there any faster way?

Ehm, what you mean by faster ? It’s a one-liner.

Oh, I miss understanding. I thought I must replace each tile index.