以下是代码段:我对如何在统一警告框中设置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);
});
}
}