Initial commit: AIGame Unity client with URP, HybridCLR, YooAsset and tooling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-09-21 14:21:07 +08:00
co-authored by Cursor
commit f3f66ab063
931 changed files with 112366 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#if UNITY_EDITOR
using HybridCLR.Editor.Installer;
public static class SetupHybridClr
{
public static string Install()
{
var c = new InstallerController();
if (c.HasInstalledHybridCLR())
return $"already_installed pkg={c.PackageVersion} local={c.InstalledLibil2cppVersion}";
c.InstallDefaultHybridCLR();
return $"installed pkg={c.PackageVersion} has={c.HasInstalledHybridCLR()} local={c.InstalledLibil2cppVersion}";
}
public static string Status()
{
var c = new InstallerController();
return $"has={c.HasInstalledHybridCLR()} pkg={c.PackageVersion} local={c.InstalledLibil2cppVersion}";
}
}
#endif