DialogButton.OnButtonClicked(GameObject) Method

Definition

Event handler that runs when button is clicked. Dismisses the parent dialog.

C++
public:
 void OnButtonClicked(UnityEngine::GameObject ^ obj);

Parameters

obj
UnityEngine.GameObject

Caller GameObject

Applies to

產品 版本
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