mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    Dialog
    DialogShell
    Inherited Members
    Dialog.State
    Dialog.OnClosed
    Dialog.result
    Dialog.Result
    Dialog.Launch(DialogResult)
    Dialog.RunDialogOverTime()
    Dialog.OpenDialog()
    Dialog.CloseDialog()
    Dialog.UpdateDialog()
    Dialog.Open(GameObject, DialogResult)
    Dialog.Open(GameObject, DialogButtonType, String, String, Boolean, Object)
    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
    Dialog.FinalizeLayout()

    GenerateButtons()

    Declaration
    protected override void GenerateButtons()
    Overrides
    Dialog.GenerateButtons()

    SetTitleAndMessage()

    Set Title and Text on the Dialog.

    Declaration
    protected override void SetTitleAndMessage()
    Overrides
    Dialog.SetTitleAndMessage()
    In This Article
    • Properties
      • DescriptionText
      • TitleText
    • Methods
      • DismissDialog()
      • FinalizeLayout()
      • GenerateButtons()
      • SetTitleAndMessage()
    Back to top Generated by DocFX