Adding Trigger Event
Create a box or other 3D Object, make sure this object has a collider set to IsTrigger
Add the PadlockTrigger script to that 3D object and add the padlock controller object to the inspector slot named PadlockController
By default the interaction key is set to E
Last updated
Was this helpful?