Files
SVSimServer/SVSim.BattleEngine/Engine/EffectSetUp.cs
gamer147 824309ec44 feat(battle-engine): close the AI-simulation subsystem (verbatim)
Copied the 89 uncopied AI*SimulationUtility/extension files defining the
AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed
the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
2026-06-05 20:30:59 -04:00

32 lines
640 B
C#

using System.Collections.Generic;
using Cute;
using UnityEngine;
public class EffectSetUp : MonoBehaviour
{
public bool isBattle;
public bool isField;
public bool isFinished;
private List<string> _loadAssetList = new List<string>();
private void Start()
{
if (GameMgr.GetIns() != null)
{
base.gameObject.SetActive(value: true);
_loadAssetList.AddRange(GameMgr.GetIns().GetEffectMgr().SetUIParticleShader(base.gameObject, delegate
{
isFinished = true;
}, isBattle, isField));
}
}
private void OnDestroy()
{
Toolbox.ResourcesManager.RemoveAssetGroup(_loadAssetList);
}
}