Exemple #1
0
    public void TogglePauseState(CharacterController newFocusedPlayerController)
    {
        focusedPlayerController = newFocusedPlayerController;

        isPaused = !isPaused;

        ToggleTimeScale();

        UpdateActivePlayerInputs();

        SwitchFocusedPlayerControlScheme();

        // UpdateUIMenu();
    }
Exemple #2
0
 void AddPlayerToActivePlayerList(CharacterController newPlayer)
 {
     activePlayerControllers.Add(newPlayer);
 }