Device Canvas Setup
This only needs to be done if you’re setting the canvas buttons yourself or if anything might be missing
Basic Button Setup
Open the UI Manager GameObject
Select and open out the appropriate DeviceType - Canvas
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)
Add your CodeDeviceUIManager (UI Manager GameObject) to the available slot
On the drop down on the right (No function dropdown if nothing is selected)
Choose the CodeDeviceUIManager option which will open out into more
Choose CodeDeviceUIManager.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 / Submit Buttons
Clear / Close / Submit Buttons Setup
Select any of the input keys, add an OnClick() event in the bottom right of the inspector by clicking the +
Add your CodeDeviceUIManager GameObject to the available slot
On the drop down on the right, choose the CodeDeviceUIManager option which will open out into more
Close Key
Clear Key
Submit Key
Last updated
Was this helpful?