1
0
Fork 0
This commit is contained in:
Piegames 2018-04-24 05:13:00 +02:00
parent 81c3b30ca4
commit e43379d072

View file

@ -17,8 +17,7 @@ namespace Assets.Scripts.Entities {
protected override void Start() { protected override void Start() {
base.Start(); base.Start();
SingleShot s = new SingleShot(this.gameObject); SingleShot s = new SingleShot(this.gameObject, 12, 3, 8 );
s.SetCooldown(3);
s.SetPrefab(bullet); s.SetPrefab(bullet);
s.SetSpawn(bulletSpawn); s.SetSpawn(bulletSpawn);
SetAttack(s); SetAttack(s);