A downloadable asset pack

This is a downloadable Unity package that slots right into your projects, with hopefully little to no hassle. The idea is that  you can use a UI based keyboard for users to input data. This was originally created due to WebGL limitations with mobile, as it doesn't pop up the users native keyboard when an input field is active. This package solves this issue and then allows you to customize the keyboard to use your own SFX, VFX and fonts.  This was a quick fix for a problem at one stage, but I have used it repeatedly since and never changed anything so now it is yours to go and do with what you please.

The package imports Text Mesh Pro along with the UI Keyboard. You will find an example scene in the package also which shows how it works, however here is a brief instruction also!

How To Use:

  1. Download package and import to Unity.
  2. Place the 'Keyboard' prefab onto a Canvas of your choice.
  3. Get a reference to 'KeyboardController.cs' where you can access the 'typedString' variable.
  4. Hey presto you made it! 

IMPORTANT

Each key has a 'KeyboardKey.cs' script on it. When I was making this, the easiest way of getting the letter of each button was to get their 'gameObject.name' so if you change the name of a button, it will change the key that it outputs. This will allow you to change things around easily, but also might cause you issues, either way you have been informed. 

Download

Download
UIKeyboard.unitypackage 575 kB

Comments

Log in with itch.io to leave a comment.

(+1)

So cool man!

Appreciate it! :)