mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class DialogExampleController

    This class is used as an example controller to show how to instantiate and launch two different kind of Dialog. Each one of the public methods are called by the buttons in the scene at the OnClick event.

    Inheritance
    Object
    DialogExampleController
    Namespace: Microsoft.MixedReality.Toolkit.Examples.Experimental.DialogTest
    Assembly: cs.temp.dll.dll
    Syntax
    public class DialogExampleController : MonoBehaviour

    Properties

    DialogPrefabLarge

    Large Dialog example prefab to display

    Declaration
    public GameObject DialogPrefabLarge { get; set; }
    Property Value
    Type Description
    GameObject

    DialogPrefabMedium

    Medium Dialog example prefab to display

    Declaration
    public GameObject DialogPrefabMedium { get; set; }
    Property Value
    Type Description
    GameObject

    DialogPrefabSmall

    Small Dialog example prefab to display

    Declaration
    public GameObject DialogPrefabSmall { get; set; }
    Property Value
    Type Description
    GameObject

    Methods

    OpenChoiceDialogLarge()

    Opens choice dialog example

    Declaration
    public void OpenChoiceDialogLarge()

    OpenChoiceDialogMedium()

    Opens choice dialog example

    Declaration
    public void OpenChoiceDialogMedium()

    OpenChoiceDialogSmall()

    Opens choice dialog example

    Declaration
    public void OpenChoiceDialogSmall()

    OpenConfirmationDialogLarge()

    Opens confirmation dialog example

    Declaration
    public void OpenConfirmationDialogLarge()

    OpenConfirmationDialogMedium()

    Opens confirmation dialog example

    Declaration
    public void OpenConfirmationDialogMedium()

    OpenConfirmationDialogSmall()

    Opens confirmation dialog example

    Declaration
    public void OpenConfirmationDialogSmall()
    In This Article
    • Properties
      • DialogPrefabLarge
      • DialogPrefabMedium
      • DialogPrefabSmall
    • Methods
      • OpenChoiceDialogLarge()
      • OpenChoiceDialogMedium()
      • OpenChoiceDialogSmall()
      • OpenConfirmationDialogLarge()
      • OpenConfirmationDialogMedium()
      • OpenConfirmationDialogSmall()
    Back to top Generated by DocFX