2021-04-08 20:09:59 +08:00
|
|
|
|
using ET.EventType;
|
|
|
|
|
using ET;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace ET
|
|
|
|
|
{
|
|
|
|
|
public class PlayAnimation_AttackEvent : AEvent_Sync<PlayAnimation_Attack>
|
|
|
|
|
{
|
|
|
|
|
public override void Run(PlayAnimation_Attack args)
|
|
|
|
|
{
|
2021-04-11 19:50:39 +08:00
|
|
|
|
Unit unit = args.unit;
|
2021-04-20 00:25:04 +08:00
|
|
|
|
AnimancerHelper.GetAnimancers(args.zoneScene,unit).PlayAtk();
|
2021-04-08 20:09:59 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public class PlayAnimation_HurtEvent : AEvent_Sync<PlayAnimation_Hurt>
|
|
|
|
|
{
|
|
|
|
|
public override void Run(PlayAnimation_Hurt args)
|
|
|
|
|
{
|
2021-04-11 19:50:39 +08:00
|
|
|
|
Unit unit = args.unit;
|
2021-04-20 00:25:04 +08:00
|
|
|
|
AnimancerHelper.GetAnimancers(args.zoneScene,unit).PlayHurt();
|
2021-04-08 20:09:59 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|