# Keypad & Phone

{% embed url="<https://drive.google.com/file/d/1g4zv8_77QRdtYWG0Sn6fDMDnvX_6Hvbf/view?usp=sharing>" %}

### Keypad Setup:

* You will need a KeypadController GameObject to control the keypad you're using.

{% hint style="info" %}
**KeypadType:** Choose the type of keypad that will open the UI&#x20;

**Character Limit:** Set how many characters should be allowed to be input

**Keypad Codes List:** You can add a new event, add a code and then a custom outcome for that

**Keypad Sounds:** The sound effects as below

**Trigger Events:** Whether you want to use a Trigger Event or not
{% endhint %}

<figure><img src="https://2670832224-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL8GtpEwbGN0bJplKvWXb%2Fuploads%2FiIA4PjCHQQlK6iCnwBtn%2FKeypadController.JPG?alt=media&#x26;token=8fdcd5f0-992b-43c3-9a6d-99b623058445" alt=""><figcaption></figcaption></figure>

### Keypad Model:

{% hint style="info" %}

* **Tag:** InteractiveObject
* **Box Collider**
* **AKItem:** Keypad Sys
* **Keypad Item:** Add the controller that we have above
  {% endhint %}

<figure><img src="https://2670832224-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL8GtpEwbGN0bJplKvWXb%2Fuploads%2Fhn9rIlAvQSdCQ1vXxDuM%2FKeypadModel.JPG?alt=media&#x26;token=d33431cd-0eee-4325-b9c4-926a22d42b5d" alt=""><figcaption></figcaption></figure>

### Keypad Canvases:&#x20;

{% hint style="info" %}
You will need the **AK - Keypad Canvases**
{% endhint %}

<figure><img src="https://2670832224-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL8GtpEwbGN0bJplKvWXb%2Fuploads%2FXuOQCqMOLWKo7UintNbA%2FKeypad_Canvases.JPG?alt=media&#x26;token=72b35a4d-76db-4642-97b3-64ceb05294cf" alt=""><figcaption></figcaption></figure>

### Setting on the AK - UI Manager

{% hint style="info" %}

* Make sure in the Show Keypad Properties section that the above canvases are added
  {% endhint %}

<figure><img src="https://2670832224-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL8GtpEwbGN0bJplKvWXb%2Fuploads%2FSGqthKk8GeBrmL6HtBSo%2FKeypadUIAKManager.JPG?alt=media&#x26;token=b0bf5498-3339-4c42-9a37-f2628aa19188" alt=""><figcaption></figcaption></figure>
