unity convert object to string code example Example: unity to string int i = 5; string iString = i.ToString();