PlayerControl
Manages the Player's control system, enabling or restricting Player movement & other actions.
Functions and Accessors | PlayerControl.cs
Controllable ( bool ) / Public get / Private set
Returns true if the player can be controlled.
Returns the value of "controllable"
Grant Control()
Force Controllable to be true.
Lose Control()
Force Controllable to be false.
CheckIfCanGrantControl()
Checks if the game is paused before providing control to the player.
Recommended usage over GrantControl to avoid issues.
Last updated