UI Keyboard - Unity Package
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:
- Download package and import to Unity.
- Place the 'Keyboard' prefab onto a Canvas of your choice.
- Get a reference to 'KeyboardController.cs' where you can access the 'typedString' variable.
- 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.
Status | Released |
Category | Assets |
Author | Evan Williams |
Genre | Educational |
Tags | Asset Pack, csharp, Graphical User Interface (GUI), keyboard, package, programming, sourcecode, Unity, User Interface (UI) |
Comments
Log in with itch.io to leave a comment.
So cool man!
Appreciate it! :)