I have been messing with unity and VR lately and I have been using this code from youtube to fire a gun (https://www.youtube.com/watch?v=kD47gUJO7jA) The gun works fine but