Used Unity's FPS game sample as a base to write unit tests.
Writing unit tests is crucial because it ensures individual components of the code work as expected, helping to catch and fix bugs early in the development process. Additionally, unit tests facilitate code maintenance and refactoring by providing a safety net that verifies the functionality remains intact despite changes.