Hello guys,
Recently I have finished a door model for my game. And I have a problem, because I need to put doors in those, but:
- I can’t add door to every doorhole, because 2 coridors will overwrite doors
- I can’t make prefab with half of places filled, because in some cases it may not match.
So, I have an idea:
Make a script attached to corridor prefabs, and have X checkboxes (1 checkbox = 1 door). And when checkbox is checked, I want door to be spawned (in build AND in the Editor!!!)
Do you know, what’s the best way to do it?