Table of Contents

Class DialogueChoicePagingOptions

Namespace
S1API.Dialogues
Assembly
S1API.dll

Configuration for DialogueChoicePaging.

public sealed class DialogueChoicePagingOptions
Inheritance
DialogueChoicePagingOptions
Inherited Members
Extension Methods

Constructors

DialogueChoicePagingOptions()

public DialogueChoicePagingOptions()

Properties

ChoicesPerPage

Number of real choices to show per page (reserves one slot for the "More" entry). Defaults to 7.

public int ChoicesPerPage { get; set; }

Property Value

int

MaxVisibleChoices

The maximum number of choice UI entries the vanilla dialogue canvas can show at once. Default is 8 (vanilla prefab provides 8 entries).

public int MaxVisibleChoices { get; set; }

Property Value

int

MoreTextFormat

Format string for the paging entry. Receives (currentPage, totalPages). Default: "More ({0}/{1})".

public string MoreTextFormat { get; set; }

Property Value

string

WrapPages

Whether the "More" entry cycles back to page 1 after the last page. Default is true.

public bool WrapPages { get; set; }

Property Value

bool