🔢
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. Getting Started

Keypad Canvas - Setup

PreviousDetailed SetupNextFAQ

Last updated 1 year ago

Was this helpful?

This only needs to be done if you’re setting the canvas buttons yourself or if anything might be missing.

  • Select and open out your type of Keypad - Canvas from the UIManager

  • Select any of the Button numbers, add an OnClick() event in the bottom right of the inspector by clicking the + (Unless it already has one added, image below)

  • Add your KPUIManager GameObject to the available slot

  • On the drop down on the right (No function dropdown if nothing is selected)

    • Choose the KPUIManager option which will open out into more.

  • Choose KeyController.KeyPressString

  • You can then add whatever number or keyboard symbol you like in the slot below the dropdown.

  • Continue this for each button available.

Similar setup for the CLOSE / CLEAR / ENTER Buttons

  • Select any of the input keys, add an OnClick() event in the bottom right of the inspector by clicking the +

  • Add your KPUIManager GameObject to the available slot

  • On the drop down on the right, choose the KPUIManager option which will open out into more.

  • Choose

    • KeyController.KeyPressClose

  • KeyController.KeyPressClear

  • Make sure when you choose the KeypadClear method from the dropdown, make sure the bool is ticked as below

  • KeyController.KeyPressEnter

⭐