static bool TryParse( string str, Vector3 result )

static bool TryParse( string str, System.IFormatProvider provider, Vector3 result )

Summary

Given a string, try to convert this into a vector. Example input formats that work would be "1,1,1", "1;1;1", "[1 1 1]". This handles a bunch of different separators ( ' ', ',', ';', '\n', '\r' ). It also trims surrounding characters ('[', ']', ' ', '\n', '\r', '\t', '"').
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.