Find and Set Child Component to Inactive

Hey, everyone!

I am trying to set a component in a child gameobject to false. I need to set the ArrowShoot script false in gameobject MyBow 1. The script to do this has to be on Bow Weapon Transform in the hierarchy, and has to turn off the script on the MyBow 1 child gameobject. Here is all my stuff:

6932874--814140--hierarchy.PNG

6932874--814143--Capture.PNG

Now, my script is not throwing any errors, but it is also not working.

Any help is appreciated!

Thanks!

I found a fix.