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.
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()