Any way to check if the dungeon is done being generated?

Anonymous 5 years ago • updated by Daedalus 5 years ago 2
There's a SendMessage call on the generator, but as far as I can tell, there's no way for an external object to check if the dungeon is done generating.

I'm thinking it'd be good to have a public bool of some sort that you can check, or even change the SendMessage to a BroadcastMessage call so children of the generator object can hook into the DungeonGenerated message.

Obviously, I can change the SendMessage to BroadcastMessage myself, but I thought I'd bring it up (not to mention that every time I do an update, I'd have to change that call again...).

Loving the tool so far, though.  This is the first thing that's hung me up, so it's kind of amazing that up until this point it "just worked".
Under review
Good call, that's a nice improvement I didn't think of. The SendMessage will be surely changed to a BroadcastMessage in the next version! I'll also add a 'IsGenerating' property to the generator for the same purpose, could be useful.

Thank you for your feedback!