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