UI Button Setup
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 one of the canvas UI elements which is a parent of the "UIManager", to find all the elements.
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 “UIManager” object to the available slot.
On the drop down on the right, (No function dropdown if nothing is selected) choose the “PhoneUIManager” option which will open out into more.
Choose “PhoneUIManager.KeyPressString”
You can then add whatever number or keyboard symbol you like in the slot below the dropdown.
Continue this for each button available.
You can select multiple buttons at once!
This is very similar setup for the CLOSE / CLEAR / ENTER Button.
Select any of the CLOSE / CLEAR / CALL buttons, add an “OnClick()” event in the bottom right of the inspector by clicking the “+”.
Add your “UIManager” to the available slot
On the drop down on the right, choose the “PhoneUIManager” option which will open out into more.
Choose “PhoneUIManager.KeyPressClose” or “PhoneUIManager.KeyPressClr” or “PhoneUIManager.KeyPressClass” to the corresponding buttons.
Last updated