Detailed Setup
Quick Tips & Troubleshooting
TextMeshPro Required
Tags Reference Guide
System Setup
Step 1 - Player Setup
Step 2 - UI Manager Setup
Keypad Input Fields (CodeText)
Add out of the UI - Type - InputFields from the children below
Canvas References
Add the canvas' to the correct slot
Raycast Interact Prompt
Add the UI - InteractPrompt from the child below
Trigger Interact Prompt
Add the UI
Crosshair
Add the UI
Persist Across Scenes
Tick this box if you want this manager to stay between scenes
UI Manager Objects
Step 3 - Keypad Audio Manager
Step 4 - Disable Manager
Disabling PlayerStep 5 - Setting up 3D Keypad Model
Step 6 - Keypad / Phone Controller Setup
Keypad Type
Choose: Modern, Scifi, Keyboard, Bomb
Input Limit
Set character limit, based on the code you’ve just chosen
Code List
Set the array size to add more code options
Inside each option is a Codes to set the code you would like player to input
Then an event to activate when this code is input into the keypad
Closing Input
This is the input used to close the keypad
Keypad Interaction Sounds
Add the ScriptableObject objects from the corresponding folder
Keypad Input Sounds
Add the ScriptableObject objects from the corresponding folder
Trigger Event
Set whether this is a trigger event version by selecting the check box, if true. You will get another option to add the trigger object
Step 7 - Unlock Event:
Click the + icon in the bottom right, it will add a new event and you can place any gameobject which may have a script with a public method you want to call.
In this case I have added the door object, this has a script called DoorController which has a public method called OpenDoor
You can then run this code each time you unlock something, this can be changed on each door, and multiple events can happen in each
Last updated
Was this helpful?