I have searched all over and cant seem to find the answer that works for me. Basically I am trying to change the color of a LineRenderer over a specific time interval so it may change to a randomly created Color value. I can Debug.log my new color and it works there, but in the actual game itself the lines are still white and not the given new color. The commented portion of my code is another way that I tried but still did not have success with.
Here is my code:
and here is my console output: