com.alicizax.unity.focus-cr.../Runtime/LubanCroppingHelper.cs
2025-02-10 10:55:11 +08:00

22 lines
621 B
C#

using UnityEngine;
using UnityEngine.Scripting;
namespace Luban
{
/// <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);
}
}
}