DialogButton.OnButtonClicked(GameObject) Method
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.
Event handler that runs when button is clicked. Dismisses the parent dialog.
C++
public:
void OnButtonClicked(UnityEngine::GameObject ^ obj);
public void OnButtonClicked (UnityEngine.GameObject obj);
member this.OnButtonClicked : UnityEngine.GameObject -> unit
Public Sub OnButtonClicked (obj As GameObject)
- obj
- UnityEngine.GameObject
Caller GameObject
產品 | 版本 |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4 |