Vector2IntExt.TryParse Method

Tries to parse a Vector2Int 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 Vector2Int result
)

Parameters

 

s
Type: System.String
Source string
result
Type: Vector2Int
Parsed vector or PositiveInfinity if there was an error

Return Value

Type: Boolean
Whether the vector was parsed successfully

See Also

Reference

Vector2IntExt Class
UltimateXR.Extensions.Unity.Math Namespace