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

25 lines
622 B
C#
Raw Normal View History

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