my issue also like louise_collins Ask.
i also tried
if(value.isPressed)
{
myAnimator.SetBool("isShooting",true);
}
else
{ myAnimator.SetBool("isShooting",fasle);}
i’m not good at coding also read this Solution her ask.
but i tired other way with trigger
if (value.isPressed)
{
myAnimator.SetTrigger("isShooting");
}
else
{
myAnimator.ResetTrigger("isShooting");
}