Place RandomTile from script

Hello,

I am using the RuleTiles from the 2d extras package. In my current method of creating a procedural world, I am using:
thisTilemap.SetTile(new Vector3Int(x, y, 0), regions*.tile);*
which basically sets tiles according to noise I create. The problem is since the RuleTiles are not exactly "Tile"s that go into the SetTile() method, I can’t use them in my world. Is there a way I can convert the RuleTiles to Tiles?
Cheers

I figured it out.

If you want to use RuleTile script from the 2d extras package as a tile in your methods but you can’t, simply change the inheritance of the RuleTile script.

So instead of inheriting from RuleTile:TileBase, just replace TileBase with Tile and it works.