Problem:
Need help making a C# code with comments?? ( Using Visual Studio)
Question- Create a weapon switch script that switches a placeholder weapon that is attached to a character controller. Make use of a switch statement instead of (if) conditionals. Make use of a List that holds your weapon variables. Make sure that a weapon is always displayed on screen (cubes with different colors or other placeholder) the weapon should follow player movement.
Please explain the switch condition for the given program.