com.alicizax.unity.focus-cr.../Runtime/LubanCroppingHelper.cs

22 lines
621 B
C#
Raw Normal View History

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