This commit is contained in:
GL 2025-01-06 14:03:59 +08:00
parent 151503e59d
commit 2cb47878a0
2 changed files with 3 additions and 2 deletions

View File

@ -144,7 +144,7 @@ public class Attack : MonoBehaviour
Target = targetRole.gameObject; Target = targetRole.gameObject;
animator.SetTrigger("Attack"); animator.SetTrigger("Attack");
} }
else if (bulletPrefab.GetComponent<Bullet>().myBulletType == BulletType.Spraying) else if (bulletPrefab.GetComponent<Bullet>().myBulletType == BulletType.Spraying|| bulletPrefab.GetComponent<Bullet>().myBulletType==BulletType.XuLi)
{ {
animator.SetInteger("State", 1); animator.SetInteger("State", 1);
flag = true; flag = true;

View File

@ -10,7 +10,8 @@ public enum BulletType
{ {
Bullet, Bullet,
Lightning, Lightning,
Spraying //埻華驗扞 Spraying, //覩뒈톨<EB9288>
XuLi //嗜제묑샌
} }
public enum BulletAttributes public enum BulletAttributes
{ {