40 lines
931 B
C#
40 lines
931 B
C#
using Framework;
|
|
using Gameplay.Unit;
|
|
namespace Gameplay.Summon.Logic
|
|
{
|
|
public class SLogicTaunt : BaseSummonLogic
|
|
{
|
|
|
|
public int tauntRange;
|
|
private bool _needCheckAllEnemy;
|
|
|
|
public SLogicTaunt(BaseSummon summon) : base(summon)
|
|
{
|
|
}
|
|
|
|
protected override void _OnInit()
|
|
{
|
|
base._OnInit();
|
|
|
|
_needCheckAllEnemy = true;
|
|
EventManager.Instance.Register<GameUnit>(EventManager.EventName.INFIGHT_UNIT_CELLINDEX_CHANGE, _OnUnitCellChange);
|
|
}
|
|
|
|
private void _OnUnitCellChange(GameUnit unit)
|
|
{
|
|
|
|
}
|
|
|
|
private void _CheckAllEnemy()
|
|
{
|
|
}
|
|
|
|
protected override void _OnDispose()
|
|
{
|
|
base._OnDispose();
|
|
EventManager.Instance.Unregister<GameUnit>(EventManager.EventName.INFIGHT_UNIT_CELLINDEX_CHANGE, _OnUnitCellChange);
|
|
}
|
|
|
|
}
|
|
}
|