public class ShowDialogBehaviour
Inherits MonoBehaviour
Can be invoked to show a dialog box
Fields
public bool ShouldShowOnStart
Should the dialog box be shown when the behaviour first starts?
public OptionalFloat Width
Width override in pixels
public OptionalFloat Height
Height override in pixels
public string Title
The title of the dialog box, displayed at the top in bold. Can be null.
public string Message
[NaughtyAttributes.ResizableTextArea()]
The message of the dialog box, displayed under the title. Can be null.
public bool PlayErrorSound
Should an error noise be played when shown?
public bool PlayWarningSound
Should a warning noise be played when shown?
Methods
public void ShowDialog()
Show the dialog box
bi bij bibi