Last updated: Sep 11, 2022
The Game Mode Service class is a helper class that gives us access to certain values from everywhere in the project. It’s very handy to have something like this around, though it can certainly lead to quite bad usage of things.
You can find the Game Mode Service script ****at this path: Assets\Infima Games\Low Poly Animated - Modern Guns\Demo\Code\Services\GameModeService.cs
Player Character. Reference to the player character’s CharacterBehaviour component.
Get Player Character. Returns the value of Player Character.
Get Equipped Weapon. Tries to get the player character’s equipped weapon’s WeaponBehaviour component and return it for easy access.