So in my game, you need to activate a few switches to open a door to the next level. I'm a complete beginner, so I have no idea how to do this. Does anyone know how I could do this?
I'm not sure if this is the best way to do it, but you could have all of the switches as separate objects, and when they are activated, they use SendMessage to run a function on the door. That function could change a bool to true for a switch, and when all are equal to true, the door could open.
Edit: hope this helps! I'm also a beginner