hlh
This commit is contained in:
parent
151503e59d
commit
2cb47878a0
@ -144,7 +144,7 @@ public class Attack : MonoBehaviour
|
||||
Target = targetRole.gameObject;
|
||||
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);
|
||||
flag = true;
|
||||
|
@ -10,7 +10,8 @@ public enum BulletType
|
||||
{
|
||||
Bullet,
|
||||
Lightning,
|
||||
Spraying //埻華驗扞
|
||||
Spraying, //覩뒈톨<EB9288>
|
||||
XuLi //嗜제묑샌
|
||||
}
|
||||
public enum BulletAttributes
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user