Skip to content

Commit

Permalink
Support Tuanjie Engine (china version)
Browse files Browse the repository at this point in the history
Support Tuanjie Engine (china version)
  • Loading branch information
xiaoshanlin000 authored May 19, 2024
1 parent 12574c3 commit 580c277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NuGetForUnity/Editor/Models/UnityVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public UnityVersion(int major, int minor, int revision, char release, int build)
[SuppressMessage("ReSharper", "MemberCanBePrivate.Local", Justification = "Called by Unit Test.")]
public UnityVersion(string version)
{
var match = Regex.Match(version, @"(\d+)\.(\d+)\.(\d+)([fpba])(\d+)");
var match = Regex.Match(version, @"(\d+)\.(\d+)\.(\d+)([fpbat])(\d+)");
if (!match.Success)
{
throw new ArgumentException("Invalid unity version");
Expand Down

0 comments on commit 580c277

Please sign in to comment.