Exemple #1
0
 void Start()
 {
     straightBullet     = GetComponent <StraightBullet>();
     radicalBullet      = GetComponent <RadicalBullet>();
     alienBossHealthBar = GetComponent <AlienBossHealthBar>();
     StartCoroutine(Shoot());
     // radicalBullet.SpawnProjectile(50, 7f);
 }
Exemple #2
0
    public override void Fire()
    {
        GameObject     curBullet      = Instantiate(Bullet, FirePoint.position, FirePoint.rotation);
        StraightBullet straightBullet = curBullet.GetComponent <StraightBullet>();

        straightBullet.Account = this.Account;
        straightBullet.Speed   = this.Speed;
        straightBullet.Damage  = this.Damage;
    }
Exemple #3
0
    void Start()
    {
        straightBullet        = GetComponent <StraightBullet>();
        radicalBullet         = GetComponent <RadicalBullet>();
        spiralBullet          = GetComponent <SpiralBullet>();
        spiralMultiBullet     = GetComponent <SpiralMultiBullet>();
        skeletonBossHealthBar = GetComponent <SkeletonBossHealthBar>();


        // radicalBullet.SpawnProjectile(50, 7f);*/
    }