[change] 为RuntimeApi添加[Preserve]特性,避免被裁剪

main
walon 2024-02-26 14:17:45 +08:00
parent 67c487f521
commit a5c006d67c
1 changed files with 2 additions and 0 deletions

View File

@ -6,9 +6,11 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using UnityEngine.Scripting;
namespace HybridCLR namespace HybridCLR
{ {
[Preserve]
public static class RuntimeApi public static class RuntimeApi
{ {
/// <summary> /// <summary>