DialogExampleController Class

Definition

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.

C++
public ref class DialogExampleController : UnityEngine::MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
DialogExampleController

Constructors

Properties

DialogPrefabLarge

Large Dialog example prefab to display

DialogPrefabMedium

Medium Dialog example prefab to display

DialogPrefabSmall

Small Dialog example prefab to display

Methods

OpenChoiceDialogLarge()

Opens choice dialog example

OpenChoiceDialogMedium()

Opens choice dialog example

OpenChoiceDialogSmall()

Opens choice dialog example

OpenConfirmationDialogLarge()

Opens confirmation dialog example

OpenConfirmationDialogMedium()

Opens confirmation dialog example

OpenConfirmationDialogSmall()

Opens confirmation dialog example

Applies to

منتج الإصدارات
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0