Hello, throughout my scripts I use if (_switch.CurrentPlayer == _playerMovement.PlayerIdentifier), basically checking for if the current player in the game is the player the current playerMovement script is attached to. Is there any way to combat this duplicating code?
change the variable name on the new one