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

Was this helpful?