Vector4Ext.ParseAsync Method

Tries to parse a Vector4 from a string, asynchronously.

Namespace: UltimateXR.Extensions.Unity.Math
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static Task<Vector4?> ParseAsync(
	string s,
	CancellationToken ct = default
)

Parameters

 

s
Type: System.String
Source string
ct (Optional)
Type: System.Threading.CancellationToken
Optional cancellation token, to cancel the operation

Return Value

Type: Task(Nullable(Vector4))
Awaitable task returning the parsed vector or null if there was an error

See Also

Reference

Vector4Ext Class
UltimateXR.Extensions.Unity.Math Namespace