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.
32 lines
640 B
C#
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);
|
|
}
|
|
}
|