azerion / phaser-input

Adds input boxes to Phaser like CanvasInput, but also works for WebGL and Mobile, made for Phaser only.
MIT License
201 stars 64 forks source link

Change value in script #2

Closed timofey-l closed 8 years ago

timofey-l commented 8 years ago

It could be usefull to change the value of input somewhere in the script. In my case, I need to define the initial value after input creation.

There is method resetText, that has almost all functionality.