toUnityVersion
Extension function to convert a string into a UnityVersion object.
This function is a convenient wrapper around the UnityVersion.parseString method and allows for a more fluent API when converting strings to UnityVersion instances.
Return
A UnityVersion object if the string is a valid Unity version format, or null if parsing fails.