User Tools

Site Tools


7_helper:codesnippet:uicheckdialog

UIHub.instance.LoadCheckDialogUI (

				"Warning",
				"Are you sure to delete this profile?",
				new Dictionary<UIEnum_CheckDlgBtnType, string> (){ { UIEnum_CheckDlgBtnType.Confirm, "Confirm" }, { UIEnum_CheckDlgBtnType.Cancel, "Cancel" } },
				btnType => {
					if (btnType == UIEnum_CheckDlgBtnType.Confirm) {
						//TODO:
					}
				}
			);
7_helper/codesnippet/uicheckdialog.txt · Last modified: 2024/06/18 13:42 by 127.0.0.1