private void HeroAnimationCallback(string aniName)
{
switch (aniName)
{
case "Attack":
{
double nowHeroSpWidth = this.HeroSpMax.rectTransform.rect.width * heroInfo[Game.MP] / heroInfo[Game.MAX_MP];
this.HeroSpNow.rectTransform.sizeDelta =
new UnityEngine.Vector2((float)nowHeroSpWidth, this.HeroSpNow.rectTransform.rect.height);
BossMotion.PlayDamage();
HeroMotion.PlayWaitLoop();
break;
}
case "Damage":
{
break;
}
}
}