Why isn't the power up orb activating my sword's child gameobject?

What I am trying to do is have a player walk into a orb with a particle effect and have the orb activate a child of my sword known named Fire (as is the variable it is equated to in this script). The problem is that setting the child as either false or true aren’t working in this script. Please advise.


Does all parents of “Fire” active in the hierarchy? Because a GameObject may be inactive if a parent is not active. You may take a look at