Fahrercode -Reinigung Auto -Einrückung bei KommentarenC++

Programme in C++. Entwicklerforum
Anonymous
 Fahrercode -Reinigung Auto -Einrückung bei Kommentaren

Post by Anonymous »

Weiß jemand, wie man das Code -Reinigungswerkzeug von Rider auswirkt, indem er die Einklingel von Kommentaren beeinflusst?

Code: Select all

switch (PlayerController->IsPaused())
{
// Game is currently unpaused.
case false:
// Pause the game.
UGameplayStatics::SetGamePaused(GetWorld(), true);

// Create the widget
PauseMenuInstance = CreateWidget(PlayerController, PauseMenu);

// Add to player screen
PauseMenuInstance->AddToPlayerScreen();

// Game is currently paused.
case true:
// Unpause the game.
UGameplayStatics::SetGamePaused(GetWorld(), false);

// Remove from player screen
PauseMenuInstance->RemoveFromParent();
}
< /code>
dazu: < /p>
switch (PlayerController->IsPaused())
{
// Game is currently unpaused.
case false:
// Pause the game.
UGameplayStatics::SetGamePaused(GetWorld(), true);

// Create the widget
PauseMenuInstance = CreateWidget(PlayerController, PauseMenu);

// Add to player screen
PauseMenuInstance->AddToPlayerScreen();

// Game is currently paused.
case true:
// Unpause the game.
UGameplayStatics::SetGamePaused(GetWorld(), false);

// Remove from player screen
PauseMenuInstance->RemoveFromParent();
}
Jede Hilfe wäre sehr geschätzt.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post