调整部分数据表配置,优化 SpriteCache 功能

This commit is contained in:
2026-09-13 20:36:21 +08:00
parent de53890de6
commit 7dc529a840
520 changed files with 24231 additions and 967 deletions
@@ -0,0 +1,25 @@
using System;
using UnityEngine;
namespace SepCore.Entity
{
[Serializable]
public class EffectData : EntityDataBase
{
[SerializeField]
private float _keepTime = 0f;
public EffectData(int entityId, string assetName = "Effect")
: base(assetName, entityId)
{
_keepTime = 3f;
}
public EffectData(int entityId, int typeId)
: this(entityId, typeId.ToString())
{
}
public float KeepTime => _keepTime;
}
}