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.Experimental.Dialog
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 void DismissDialog()
FinalizeLayout()
Declaration
protected override void FinalizeLayout()
Overrides
GenerateButtons()
Declaration
protected override void GenerateButtons()
Overrides
SetTitleAndMessage()
Set Title and Text on the Dialog.
Declaration
protected override void SetTitleAndMessage()