I have a string variable and I have text. I would like to make my text equal to my string variable through scripts. Can somebody please help me?
m_MyText.text = "This is my text";
m_MyText.text = **your variable**;
And if it’s not clear enough: Updating Unity 5 Text Elements with C# Scripting (Basic Tutorial) - YouTube