This commit is contained in:
TK 2024-11-24 12:20:22 +08:00
parent e6cead81a6
commit dd11884ebc

View File

@ -1,7 +1,24 @@
# com.tk.visualkeyboard
To the `dependencies` section:
## Install Instructions:
1. Place the `com.tk.visualkeyboard` folder into the `Packages` directory of your Unity project.
2. Open the Packages/manifest.json file in your project and add the following lines to the dependencies section:
```
"com.tk.visualkeyboard":"file:<project>/../../../../Packages/com.tk.visualkeyboard",
```
```
## Usage Instructions:
1. **Add the Prefab to Your Scene**
- Locate the `InputField (TMP)` prefab included with this package.
- Drag and drop the prefab into the hierarchy as a child object of your `UI Canvas`.
2. **Trigger the Virtual Keyboard**
- Once the `InputField` is properly set up, clicking on it during runtime will automatically trigger the display of a virtual keyboard.
3. **Explore Demo Scene**
- For detailed usage examples and best practices, refer to the included demo scene. This scene demonstrates how to integrate and configure the virtual keyboard in your application.
## Notes
- Developed and tested in Unity 6000 with URP.