DialogButton Class
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::MonoBehaviour
public class DialogButton : UnityEngine.MonoBehaviour
type DialogButton = class
inherit MonoBehaviour
Public Class DialogButton
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourDialogButton
Button |
The type description of the button |
Button |
|
Parent |
A reference to the Dialog that this button is on. |
On |
Event handler that runs when button is clicked. Dismisses the parent dialog. |
Set |
Setter method to set the text at the top of the Dialog. |
Produit | Versions |
---|---|
MRTK2 Unity 2018 | 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.6.0, 2.7.0, 2.8.0 |