Is this a worse player controller script?

I did the challenge and made my player controller script different than the one in the class. My question is looking at the differences is mine worse, or just another way to do the same thing? If it is worse I’m fine with that I would just like to know why so I can improve in the future. Also, I didn’t add Time.deltaTime originally, but do see the benefits of that after it was explained but don’t think I entirely comprehend how to use it. I put it in place of my 0.01f and everything seems to work, but is there a better place that I should put it?

Privacy & Terms