Unity Jak uzyskać pierwsze słowo z String
string test = "first second";
print(test.Split(new char[] { ' ' })[0]);
print(test.Split(new char[] { ' ' })[1]);
RyanGar46
string test = "first second";
print(test.Split(new char[] { ' ' })[0]);
print(test.Split(new char[] { ' ' })[1]);