DialogButton Class 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handling click event and dismiss dialog
public ref class DialogButton : UnityEngine::MonoBehaviourpublic class DialogButton : UnityEngine.MonoBehaviourtype DialogButton = class
    inherit MonoBehaviourPublic Class DialogButton
Inherits MonoBehaviour- Inheritance
- 
				UnityEngine.MonoBehaviourDialogButton
Constructors
| DialogButton() | 
Fields
| ButtonTypeEnum | The type description of the button | 
Properties
| ButtonText | |
| ParentDialog | A reference to the Dialog that this button is on. | 
Methods
| OnButtonClicked(GameObject) | Event handler that runs when button is clicked. Dismisses the parent dialog. | 
| SetTitle(String) | Setter method to set the text at the top of the Dialog. |