Open door by completing all puzzles

I have a script that I’m using that allows the player to drag a gameobject to a glowbox, causing it to snap into place. It’s set up to destroy the object the player is holding, and activate a hidden object to give the illusion that the item in the player’s hand has snapped into place. The thing that I want to do is to write a script that activates a nearby door after all of the hidden objects have been set active in the hierarchy.

@elcamp3

There are many ways you could set this up.

Create a method somewhere in your puzzle scripts(s).

Each time some part of puzzle is solved, set some bool for it to true.

When all the puzzles are solved call a method that opens/activates the door.

Also, if you google for unity open door on button press, you’ll come up with many helpful links.