public void SetBoltPool(BoltPool pool) { if (pool != null) { boltPool = pool; } }
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); }
public void SetBoltPool(BoltPool boltP) { BoltP = boltP; }
public void SetUP(BoltPool pool) { mPool = pool; }
public void setBoltPool(BoltPool P) { boltPool = P; }
public void SetBoltPoop(BoltPool boltp) { Boltp = boltp; }
public void SetBoltPool(BoltPool pool) { mBoltPool = pool; }