private void StopEffect()
 {
     if (activeEffect != null)
     {
         activeEffect.Detach();
         activeEffect = lastPoolUsed.Get().GetComponent <BuildEffect>();
     }
 }
 private void PlayerInputOnFirePressed()
 {
     StopEffect();
     activeEffect = buildFirePool.Get().GetComponent <BuildEffect>();
     lastPoolUsed = buildFirePool;
 }