Vector2Ext.TryParse Method
Tries to parse a Vector2 from a string.
Namespace: UltimateXR.Extensions.Unity.Math
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static bool TryParse(
string s,
out Vector2 result
)
Parameters
- s
- Type: System.String
Source string - result
- Type: Vector2
Parsed vector or NaN if there was an error
Return Value
Type: Boolean
Whether the vector was parsed successfully