Unlock Event
What happens when the code is valid?
Click the + icon in the bottom right, it will add a new event and you can place any gameobject which may have a script with a public method you want to call.
In this case I have added the colliders that need to be adjusted so you can interact with objects inside
You can then run this code each time you unlock something, this can be changed on each door, and multiple events can happen in each
Event Example
In the example below you can see the event happens and adjusts colliders
Disable Safe Black - Model Box Collider (This was just used for interaction)
Enable a set of individual colliders that act as the skeleton to this asset (So we can interact with items inside)
Enable any objects that should appear inside the safe
Last updated