Board

Board.Core.BoardApplication

BoardApplication.SetPauseScreenContext Method

Overloads  
SetPauseScreenContext(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[]) to update only specific fields while preserving others.
SetPauseScreenContext(string, Nullable<bool>, BoardPauseCustomButton[], 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[]) 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[]) to update only specific fields while preserving others.

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

Parameters

context BoardPauseScreenContext

The 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[]) instead.

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

The application name to display. If unspecified, defaults to UnityEngine.Application.productName.

showSaveOptionUponExit System.Nullable<System.Boolean>

true if the save progress dialog should be shown upon exiting the application. If unspecified, defaults to false.

customButtons BoardPauseCustomButton[]

A collection of custom action buttons. If unspecified, defaults to an empty array.

audioTracks BoardPauseAudioTrack[]

A collection of configurable audio tracks. If unspecified, defaults to an empty array.