UnitsSplit Method |
Split a string representation of a Vector (e.g a Vector3 will be represented as "1.1,1.2,1.3" or "1.1;1.2;1.3") using the Current Culture's "list separator" character into the individual components.
Fall back to trying the Invariant Culture separator (",") if different to the Current Culture one.Namespace: Demo3D.Utilities
public static string[] Split( string text, int componentCount = 3 )