//function called by water to let the fish know if it is in the water or not public void InWater(bool isIn) { if (isIn) { _cachedRigidbody.drag = 70; fishManager.alertFood(myHyper.w, true); } else { _cachedRigidbody.drag = 0; } }