如何设置onclick事件" Rate"在警报视图中?(Unity)

时间:2018-04-07 18:09:02

标签: unity3d

以下是代码段:我对如何在统一警告框中设置onclick感到困惑?

if (Input.GetMouseButtonDown(0))
    {
        showAlertDialog(new string[] { "Rate Us", "Take 2 min to rate our app", "Rate", "Maybe Later" }, (int obj) => { **refer here**

            Debug.Log("Local Handler called: " + obj);
        });
    }
}

0 个答案:

没有答案