Show / Hide Table of Contents

Method dialog.CloseAfter


Overload

Sets to automatically close the dialog after timeoutS seconds. Then dialog.ShowDialog returns dialog.Timeout.

public dialog CloseAfter(int timeoutS, string timeoutAction = null, bool noInfo = false)
Parameters
timeoutS  (int)

Timeout in seconds.

timeoutAction  (string)

Short text to display what will happen on timeout. For example button name. See dialog.options.timeoutTextFormat.

noInfo  (bool)

Don't display the timeout information in the footer.

Returns
dialog