🔢
Keypad System - Doc
  • Keypad System - Introduction
  • ⭐Getting Started
    • Quick Start
    • Detailed Setup
    • Keypad Canvas - Setup
  • ❓Support
    • FAQ
    • Unlock Event
    • Missing UI Text?
    • Where are inputs?
    • Adding New Design
    • Stopping Interaction
    • Adding Trigger Event
    • Change Keypad Style
    • Adding New Audioclips
    • Adding Additional Keypads
    • Different Character Controller
  • 🌀Development
    • Patch Notes - V1.5
    • Roadmap
  • 📧Contacts
    • Contact Me
    • My Other Assets
Powered by GitBook
On this page

Was this helpful?

  1. Support

Adding Trigger Event

PreviousStopping InteractionNextChange Keypad Style

Last updated 1 year ago

Was this helpful?

  • Create a box or other 3D Object, make sure this object has a collider set to IsTrigger

  • Add the KeypadTrigger script to that 3D object and add the keypad object to the inspector slot named Keypad Object. (The keypad object will have the script KeypadItem)

  • Then set an input key you’d like to use for the interaction, by default set to E

  • In the KeypadController script make sure to tick TriggerEvent to true at the bottom of the inspector and then add the TriggerEvent object into the slot that appears.

Remember to take a look at the demo scene if you have any troubles, it might give you an idea on how to fix an issue! If you find the package helpful, please leave a positive review and star rating as it would really help me out! J If you have any problems, feel free to send an email to me!

❓