public override bool Shoot() { if (!base.Shoot()) { return(false); } GameObject projectileGO = _projectilePool.GetInactive(); if (projectileGO == null) { return(false); } projectileGO.transform.position = GunBarrel.transform.position; projectileGO.transform.rotation = GunBarrel.transform.rotation; projectileGO.SetActive(true); return(true); }//Shoot