### BoardApplication.SetPauseScreenContext Method

| Overloads |  |
| --- | --- |
| [SetPauseScreenContext(BoardPauseScreenContext)](https://docs.dev.board.fun/unity/api/BoardApplication.SetPauseScreenContext.md#Board.Core.BoardApplication.SetPauseScreenContext(Board.Core.BoardPauseScreenContext) "Board\.Core\.BoardApplication\.SetPauseScreenContext\(Board\.Core\.BoardPauseScreenContext\)") | Sets the pause screen context for the current application. This performs a full replacement of all pause screen settings. Unspecified parameters will be set to their default values. Use [UpdatePauseScreenContext(string, Nullable<bool>, BoardPauseCustomButton\[\], BoardPauseAudioTrack\[\])](https://docs.dev.board.fun/unity/api/BoardApplication.UpdatePauseScreenContext(string,Nullable_bool_,BoardPauseCustomButton[],BoardPauseAudioTrack[]).html "Board\.Core\.BoardApplication\.UpdatePauseScreenContext\(string, System\.Nullable\<bool\>, Board\.Core\.BoardPauseCustomButton\[\], Board\.Core\.BoardPauseAudioTrack\[\]\)") to update only specific fields while preserving others. |
| [SetPauseScreenContext(string, Nullable<bool>, BoardPauseCustomButton\[\], BoardPauseAudioTrack\[\])](https://docs.dev.board.fun/unity/api/BoardApplication.SetPauseScreenContext.md#Board.Core.BoardApplication.SetPauseScreenContext(string,System.Nullable_bool_,Board.Core.BoardPauseCustomButton[],Board.Core.BoardPauseAudioTrack[]) "Board\.Core\.BoardApplication\.SetPauseScreenContext\(string, System\.Nullable\<bool\>, Board\.Core\.BoardPauseCustomButton\[\], Board\.Core\.BoardPauseAudioTrack\[\]\)") | Sets the pause screen context for the current game with full replacement. This replaces ALL pause screen settings. Unspecified optional parameters will use default values. To update only specific fields while preserving others, use [UpdatePauseScreenContext(string, Nullable<bool>, BoardPauseCustomButton\[\], BoardPauseAudioTrack\[\])](https://docs.dev.board.fun/unity/api/BoardApplication.UpdatePauseScreenContext(string,Nullable_bool_,BoardPauseCustomButton[],BoardPauseAudioTrack[]).html "Board\.Core\.BoardApplication\.UpdatePauseScreenContext\(string, System\.Nullable\<bool\>, Board\.Core\.BoardPauseCustomButton\[\], Board\.Core\.BoardPauseAudioTrack\[\]\)") instead. |

### BoardApplication.SetPauseScreenContext(BoardPauseScreenContext) Method

Sets the pause screen context for the current application.
This performs a full replacement of all pause screen settings.
Unspecified parameters will be set to their default values.
Use [UpdatePauseScreenContext(string, Nullable<bool>, BoardPauseCustomButton\[\], BoardPauseAudioTrack\[\])](https://docs.dev.board.fun/unity/api/BoardApplication.UpdatePauseScreenContext(string,Nullable_bool_,BoardPauseCustomButton[],BoardPauseAudioTrack[]).html "Board\.Core\.BoardApplication\.UpdatePauseScreenContext\(string, System\.Nullable\<bool\>, Board\.Core\.BoardPauseCustomButton\[\], Board\.Core\.BoardPauseAudioTrack\[\]\)") to update only specific fields while preserving others.

```csharp
public static void SetPauseScreenContext(Board.Core.BoardPauseScreenContext context);
```

#### Parameters

`context` [BoardPauseScreenContext](https://docs.dev.board.fun/unity/api/BoardPauseScreenContext.html "Board\.Core\.BoardPauseScreenContext")

The [BoardPauseScreenContext](https://docs.dev.board.fun/unity/api/BoardPauseScreenContext.html "Board\.Core\.BoardPauseScreenContext") to use.

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

Sets the pause screen context for the current game with full replacement.
This replaces ALL pause screen settings. Unspecified optional parameters will use default values.
To update only specific fields while preserving others, use [UpdatePauseScreenContext(string, Nullable<bool>, BoardPauseCustomButton\[\], BoardPauseAudioTrack\[\])](https://docs.dev.board.fun/unity/api/BoardApplication.UpdatePauseScreenContext(string,Nullable_bool_,BoardPauseCustomButton[],BoardPauseAudioTrack[]).html "Board\.Core\.BoardApplication\.UpdatePauseScreenContext\(string, System\.Nullable\<bool\>, Board\.Core\.BoardPauseCustomButton\[\], Board\.Core\.BoardPauseAudioTrack\[\]\)") instead.

```csharp
public static void SetPauseScreenContext(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 unspecified, defaults to [UnityEngine.Application.productName](https://learn.microsoft.com/en-us/dotnet/api/unityengine.application.productname "UnityEngine\.Application\.productName").

`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 upon exiting the application. If unspecified, defaults to `false`.

`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 unspecified, defaults to an empty array.

`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 unspecified, defaults to an empty array.
