com.alicizax.unity.focus-cr.../Runtime/LubanCroppingHelper.cs
陈思海 e239f7fce6
Some checks failed
Sync Github To Image / sync-gitlink (push) Has been cancelled
Sync Github To Image / sync-gitlab (push) Has been cancelled
Sync Github To Image / sync-gitee (push) Has been cancelled
Sync Github To Image / sync-atomgit (push) Has been cancelled
Sync Github To Image / sync-gitcode (push) Has been cancelled
Sync Github To Image / sync-framagit (push) Has been cancelled
init
2025-01-23 10:46:44 +08:00

22 lines
629 B
C#

using UnityEngine;
using UnityEngine.Scripting;
namespace LuBan.Runtime
{
/// <summary>
/// 防止代码运行时发生裁剪报错。将这个脚本添加到启动场景中。不会对逻辑有任何影响
/// </summary>
[Preserve]
public class LubanCroppingHelper : MonoBehaviour
{
void Start()
{
_ = typeof(Luban.BeanBase);
_ = typeof(Luban.EDeserializeError);
_ = typeof(Luban.SerializationException);
_ = typeof(Luban.SegmentSaveState);
_ = typeof(Luban.ByteBuf);
_ = typeof(Luban.StringUtil);
}
}
}