#### [Board](https://docs.dev.board.fun/unity/api/index.html "index")

### [Board.Core](https://docs.dev.board.fun/unity/api/Board.Core.html "Board\.Core"). [BoardApplication](https://docs.dev.board.fun/unity/api/BoardApplication.html "Board\.Core\.BoardApplication")

## BoardApplication.UpdatePauseScreenContext(string, Nullable<bool>, BoardPauseCustomButton\[\], BoardPauseAudioTrack\[\]) Method

Updates specific fields of the pause screen context while preserving others. Only the parameters you specify will be updated. All other settings remain unchanged. Pass an empty array to clear a field (e.g., customButtons: new BoardPauseCustomButton\[0\]).

```csharp
public static void UpdatePauseScreenContext(string applicationName=null, System.Nullable<bool> showSaveOptionUponExit=null, Board.Core.BoardPauseCustomButton[] customButtons=null, Board.Core.BoardPauseAudioTrack[] audioTracks=null);
```

#### Parameters

`applicationName` [System.String](https://learn.microsoft.com/en-us/dotnet/api/system.string "System\.String")

The application name to display. If null, keeps current value.

`showSaveOptionUponExit` [System.Nullable<](https://learn.microsoft.com/en-us/dotnet/api/system.nullable-1 "System\.Nullable\`1") [System.Boolean](https://learn.microsoft.com/en-us/dotnet/api/system.boolean "System\.Boolean") [>](https://learn.microsoft.com/en-us/dotnet/api/system.nullable-1 "System\.Nullable\`1")

`true` if the save progress dialog should be shown. If null, keeps current value.

`customButtons` [BoardPauseCustomButton](https://docs.dev.board.fun/unity/api/BoardPauseCustomButton.html "Board\.Core\.BoardPauseCustomButton") [\[\]](https://learn.microsoft.com/en-us/dotnet/api/system.array "System\.Array")

A collection of custom action buttons. If null, keeps current value. Specify an empty array to clear.

`audioTracks` [BoardPauseAudioTrack](https://docs.dev.board.fun/unity/api/BoardPauseAudioTrack.html "Board\.Core\.BoardPauseAudioTrack") [\[\]](https://learn.microsoft.com/en-us/dotnet/api/system.array "System\.Array")

A collection of configurable audio tracks. If null, keeps current value. Specify an empty array to clear.
