zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Unity/Assets/HotfixView/Event/Battle/PlayAnimationEvent.cs

25 lines
654 B
C#

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)
{
Unit unit = args.unit;
AnimancerHelper.GetAnimancers(args.zoneScene,unit).PlayAtk();
}
}
public class PlayAnimation_HurtEvent : AEvent_Sync<PlayAnimation_Hurt>
{
public override void Run(PlayAnimation_Hurt args)
{
Unit unit = args.unit;
AnimancerHelper.GetAnimancers(args.zoneScene,unit).PlayHurt();
}
}
}