Merge branch 'main' of http://shu.sheziwanglo.cn:3000/shurongsen/UnityCommon
This commit is contained in:
commit
1d7b2ac48d
@ -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