Unity UI Tutorial: Set Text On Button Click C# Event

Pubblicato il: 16 aprile 2020
sul canale di: Jayanam
47,439
389

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:   / jayanamgames  
Twitter:   / jayanamgames  
Facebook:   / jayanamgames  
Patreon:   / jayanam  
Merch Store: https://teespring.com/de/stores/jayan...

Production Music courtesy of Epidemic Sound: http://www.epidemicsound.com


In questa pagina del sito puoi guardare il video online Unity UI Tutorial: Set Text On Button Click C# Event della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Jayanam 16 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 47,439 volte e gli è piaciuto 389 spettatori. Buona visione!