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