JsonWidget.setUserString

Sets a custom string on a json widget that can be fetched using the key.

Kind: Function

Environments: Game

Game

jsonWidget:setUserString( key, value )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
jsonWidget JsonWidget The JsonWidget.
key string The key connected to the value.
value string The value being written onto the widget.