火焰攻击
This commit is contained in:
parent
314c5d4c32
commit
eecb005cf6
@ -70,12 +70,12 @@ public class Attack : MonoBehaviour
|
||||
return;
|
||||
}
|
||||
|
||||
/*if(bulletPrefab.GetComponent<Bullet>().myBulletType==BulletType.Spraying)
|
||||
if (bulletPrefab.GetComponent<Bullet>().myBulletType == BulletType.Spraying)
|
||||
{
|
||||
|
||||
GameObject BulletGamobj = GameObject.Instantiate(bulletPrefab, this.transform.root);
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
Vector2 direction = (targetRole.transform.position - transform.position).normalized;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user