Lets say the player enters his/her username into an input field you want to display it as a string like following:
[“Hello”] + [“username from inputfield”]
So I think it will look similar to something like this:
public Inputfield usernameInputfield;
public string storeUsername;
public Text outputContainer;
//So lets say you click on a button or something you willdo:
storeUsername = usernameInputfield.text;
//Your string ["storeUsername] will then be = to the text entered into the ["usernameInputfield"]
//Lets say we want to test the result if we click on a button or something we will do:
Debug.Log("Hello, " + storeUsername);
//To get it in a string:
string newString = "Hello, " + storeUsername;
//You can then replace the text of ["outputContainer"] like the following:
outputContainer.text = "Hello, " + storeUsername;
OR
outputContainer.text = newString;