Initial commit: AIGame Unity client with URP, HybridCLR, YooAsset and tooling.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user