how to add variables in strings unity c# code example Example: unity insert variable into string string name = "John"; string result = $"Hello {name}";