[change] 为RuntimeApi添加[Preserve]特性,避免被裁剪
parent
67c487f521
commit
a5c006d67c
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue