I have a character that is holding weapons (Two guns). I want two ways in which the weapon can be equipped ( Made Visible)
1st way: If the equip button is pressed
2nd Way: if the Aiming Button is Pressed.
However, once the weapon is visible I don’t the aim button (2nd Way) to effect the weapons visibility.
Aim button should only effect the visibility( Make visible) if the weapons aren’t already visible.
If the weapons are visible then Aim button shouldn’t effect their visibility
I can only seem to get it to partially work, and its very buggy.
I attached a screen shot of my current script
Any help would be greatly appreciated.