bevy_text_edit
Quickstart
Plugin
Add plugin EditTextPlugin to the app and define which states it will run in:
If you don't care to game state and want to always run input text, use EditTextPluginNoState:
Component
Insert component TextEditable and Interaction into any text entity that needs to be editable:
commands.spawn;
Only text that is focused by clicking is get keyboard input.
If you want to make a text field editable by default, insert component TextEditFocus to it when spawn:
commands.spawn;
License
Please see LICENSE.
Compatible Bevy Versions
| bevy | bevy_text_edit |
|---|---|
| 0.13 | 0.0.1, branch master |