Create a Puzzle with Prefabs
To create a simple puzzle with the prefabs from the previous step, follow these steps:
-
Navigate to the folder in the Content Browser containing your prefabs.
-
Add the following prefabs by dragging them into the level from the Content Browser:
- 1 Prefab_PuzzleManager
- 2 Prefab_Trigger
- 2 Prefab_TriggerableLight
- 1 Prefab_TriggerableMovingMesh
-
Hierarchically structure them as follows in the outliner:

Click to enlarge image.
-
Add two Volume Creative devices to the level by navigating to the Content Browser and searching for Volume, then dragging them into the level. Rename the volumes TriggerVolume1 and TriggerVolume2.
-
Move the TriggerVolume1 to overlap one of the Prefab_Trigger prefabs and scale it appropriately. Do the same for TriggerVolume2 with respect to the other Prefab_Trigger.
-
Set a reference to TriggerVolume1 on the relevant Prefab_Trigger by selecting the relevant Prefab_Trigger in the Outliner, navigating to the Details panel, and choosing TriggerVolume1 under the trigger_component.
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.