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?