Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
navarone77 authored Jul 31, 2023
1 parent 0f7f3a6 commit b750a17
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,27 @@
<img src="https://github.com/navarone77/Keypad/assets/97413201/48b3245c-d66c-4950-9687-b33835ef4b04" width=45% height=45%>

## Installation
<a href="http://www.youtube.com/watch?feature=player_embedded&v=4e0skIlmowQ
" target="_blank">How to Video: Install package, explore demo scene </br> <img src="http://img.youtube.com/vi/4e0skIlmowQ/0.jpg"
alt="Video install" width="240" height="180" border="10" /></a>


<h4> Download Latest UnityPackge <a href="https://github.com/navarone77/Keypad/releases/tag/release"> Here </a></h4>
Open your project, Import external package or double click if .unitypackage is opening in unity.

## How To Use
<p>Drag Preafab in Scene.</br>
<p>Drag Keypad Preafab into Scene. (Default is URP) </br>
(If Prompted to Install TextMeshPro , please do so as it is required for the display.
<img src="https://github.com/navarone77/Keypad/assets/97413201/179f75d8-4925-408b-babe-abc22bea73e8" width=45% height=45%>


</br>
In Keypad script, Add new event to OnAccessGranted/OnAccesDenied , </br>
find method to run by dragging script into event. </br>
Set passcode number</br> To make logic and ui work nicely, it is best to use a <b>max of 9 digit passcode.</b></p>
find method to run by dragging your scene script into event. </br>
Set passcode number</br> To make logic and ui work nicely, it is best to use a <b>max of 9 digit passcode.</b>
</br>
The <i> KeypadInteractionFPV.cs </i> is an example script to interact with each button from camera.
</br>
It can be placed inside the scene, it requires at least 1 camera to have "MainCamera" tag onto the camera</br>

</p>

0 comments on commit b750a17

Please sign in to comment.