Example #1
0
 // Use this for initialization
 void Start()
 {
     this.CoolDown = 0.0f;
     this.BulletF  = BulletFactory.GetInstance();
     this.bullets  = new List <Bullet>();
     this.energy   = maxEnergy;
     this.timer    = Time.deltaTime;
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     this.coolDown      = 0.0f;
     this.bulletFactory = BulletFactory.GetInstance();
     this.bullets       = new List <Bullet>();
 }