Exemple #1
0
 public void SetBoltPool(BoltPool pool)
 {
     if (pool != null)
     {
         boltPool = pool;
     }
 }
Exemple #2
0
    protected virtual void Awake()
    {
        GameObject poolManager = GameObject.FindGameObjectWithTag("Pool Manager");

        boltPool     = poolManager.GetComponent <BoltPool>();
        missilePool  = poolManager.GetComponent <MissilePool>();
        shipDetector = GetComponentInChildren <ShipDetector>();
        ship         = GetComponent <ShipStats>();

        ship.onPartsChange.AddListener(UpdateFireRate);
    }
Exemple #3
0
 public void SetBoltPool(BoltPool boltP)
 {
     BoltP = boltP;
 }
 public void SetUP(BoltPool pool)
 {
     mPool = pool;
 }
Exemple #5
0
 public void setBoltPool(BoltPool P)
 {
     boltPool = P;
 }
 public void SetBoltPoop(BoltPool boltp)
 {
     Boltp = boltp;
 }
Exemple #7
0
 public void SetBoltPool(BoltPool pool)
 {
     mBoltPool = pool;
 }