
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
22 lines
629 B
C#
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);
|
|
}
|
|
}
|
|
} |