Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing BoxFill & FloodFill for RandomBrush #23

Closed
rakkarage opened this issue Apr 13, 2018 · 1 comment
Closed

Implementing BoxFill & FloodFill for RandomBrush #23

rakkarage opened this issue Apr 13, 2018 · 1 comment

Comments

@rakkarage
Copy link

I have implemented BoxFill by just looping through the bounds and putting a random tile in each spot?

but how can I implement FloodFill? I cannot just use Tilemap.FloodFill because that uses the same tile instead of random tile?

I cannot find the source for tilemap.FloodFill in the source either https://github.com/Unity-Technologies/UnityCsReference

I guess if each user has to implement their own floodFill I will but I was hoping there was something I could plug into?

thanks

@rakkarage rakkarage changed the title Implementing BoxFill & FloodFill Implementing BoxFill & FloodFill for RandomBrush Apr 13, 2018
@rakkarage
Copy link
Author

rakkarage commented Apr 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant