code only activating for a split moment
I think whats happening is since I put the 2 methods in an if statement, now they only run for a split second instead of updating every frame with void update. How do I make the methods update every frame so it works properly?
