This commit is contained in:
CortexCore
2024-06-14 14:12:02 +08:00
parent 349877fe7a
commit ca93bd2c56
9 changed files with 24 additions and 24 deletions

View File

@@ -11,7 +11,7 @@ using System.Text;
using System.Threading;
using BITKit.Mod;
#if UNITY_64
#if UNITY_5_3_OR_NEWER
using System.Collections;
using BITKit.UX;
using UnityEngine;
@@ -26,7 +26,7 @@ namespace BITKit
{
public class BITSharp
{
#if UNITY_64
#if UNITY_5_3_OR_NEWER
[RuntimeInitializeOnLoadMethod]
private static void Reload()
{
@@ -60,7 +60,7 @@ namespace BITKit
assemblies ??= AppDomain.CurrentDomain.GetAssemblies();
return assemblies.Select(assembly => assembly.GetType(fullName, false)).FirstOrDefault(type => type is not null);
}
#if UNITY_64
#if UNITY_5_3_OR_NEWER
public static Assembly Compile(params string[] codes)
{