adds code


I had a request to create a Unity tutorial on how to set a text for a UI Text field when a button is clicked. I show in this show video how to create this simple UI in a Unity scene and then I implement the C# script for the button to set the text for a text field. The text field can be dragged to a public variable of type UnityEngine.UI.Text and I bind the On clicked event of the button to a public method that I implemented called SetText of the script. See my social profiles here: Instagram: https://ift.tt/38sCSC0 Twitter: https://twitter.com/jayanamgames Facebook: https://ift.tt/2cLS9oo Patreon: https://ift.tt/2cUzOmc Merch Store: https://ift.tt/30DeM4O Production Music courtesy of Epidemic Sound: https://ift.tt/19pXSrH
Previous Post Next Post