示例#1
0
 public void OnShowActionSheetWithDestructiveButton()
 {
     IGActionSheet.ShowActionSheet("Title",
                                   "Cancel", () => Debug.Log("Cancel Clicked"),
                                   "Destroy All!", () => Debug.Log("Destroy All Clicked"),
                                   ActionSheetMoreOptions, index => Debug.Log(ActionSheetMoreOptions[index] + " Clicked"));
 }
示例#2
0
 public void OnShowActionSheet()
 {
     IGActionSheet.ShowActionSheet("Title", "Cancel", () => Debug.Log("Cancel Clicked"),
                                   ActionSheetOptions, index => Debug.Log(ActionSheetOptions[index] + " Clicked"));
 }