Class DialogShell
This class implements the abstract class Dialog. DialogShell class manages a dialog object that can have one or two option buttons. If you try to open a dialog with more than two option buttons, it will show the first two.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
public class DialogShell : Dialog
Properties
DescriptionText
Description text of the dialog
Declaration
public TextMeshPro DescriptionText { get; set; }
Property Value
Type | Description |
---|---|
TextMeshPro |
TitleText
Title text of the dialog
Declaration
public TextMeshPro TitleText { get; set; }
Property Value
Type | Description |
---|---|
TextMeshPro |
Methods
DismissDialog()
Function to destroy the Dialog.
Declaration
public override void DismissDialog()
Overrides
FinalizeLayout()
This is called after the buttons are generated and the title and message have been set. Perform here any operations that you'd like Lays out the buttons on the dialog E.g. using an ObjectCollection
Declaration
protected override void FinalizeLayout()
Overrides
GenerateButtons()
Generates buttons - Must parent them under buttonParent!
Declaration
protected override void GenerateButtons()
Overrides
SetTitleAndMessage()
Set Title and Text on the Dialog.
Declaration
protected override void SetTitleAndMessage()