Mario-Maker-Deconstructed
Mario-Maker-Deconstructed copied to clipboard
Refactored Player.cs
Multiple fixes
- Replaced 'magic' strings with constants
- re-ordened fields into private and public (and added missing private scoping since this was inconsistent)
- added the 'new' keyword to indicate hiding was intended
- Refactored the FixedUpdate method to remove duplicate code