There is "var" everywhere in the code of this FPS Sample. Maybe "var" is easy to write, but the fact is - it is a pure evil if you want to read a code. "var" it is "write and forget", which is not suitable for projects for learning. Just look at any official Unity tutorial For example this "var" is never used in any tutorial. So if this FPS sample designed for learning, I recommend to replace all "var" with proper variable type and stop using "var" in the future development of this project.