Adding a Trigger Event

How do I add a trigger event for the supported puzzles?

1). Create a box or other 3D Object, make sure this object has a collider set to “IsTrigger”.

2). Add the “PUZZLENAMETrigger” script to that 3D object and add the supported object to the inspector slot usually named "PUZZLENAMECONTROLLER”.

3). Add your own or the “InteractPrompt” gameobject from the "AK_InteractPrompts" canvas to the slot, which will have a UI prompt to help you and/or players know when you can interact!

4). Then set an input key you’d like to use for the interaction, by default set to “E”! (In the "InputManager" script)

Last updated