Add project files.

This commit is contained in:
2022-09-30 17:32:21 +08:00
parent df69e65c88
commit e8e36b83bd
561 changed files with 40626 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#if UNITY_5
using System.Text.RegularExpressions;
using SyntaxTree.VisualStudio.Unity.Bridge;
using UnityEditor;
[InitializeOnLoad]
public class ProjectFilesGeneration {
static ProjectFilesGeneration() {
ProjectFilesGenerator.ProjectFileGeneration += ReplaceContent;
}
static string ReplaceContent(string n, string c) {
return Regex.Replace(c, @"<LangVersion(.*?)>.*?</LangVersion>", @"<LangVersion$1>3</LangVersion>");
}
}
#endif