修改退出的文字
This commit is contained in:
parent
e8b937e0a6
commit
1fab8f8e19
@ -21,8 +21,8 @@ namespace QFramework.Example
|
|||||||
{
|
{
|
||||||
UITipWindowData data = new UITipWindowData();
|
UITipWindowData data = new UITipWindowData();
|
||||||
data.txt = "是否关闭软件?";
|
data.txt = "是否关闭软件?";
|
||||||
data.btns.Add(new UITipWindowData.ItemData() { txt = "È·¶¨", OnClick = () => Application.Quit() });
|
data.btns.Add(new UITipWindowData.ItemData() { txt = "ÊÇ", OnClick = () => Application.Quit() });
|
||||||
data.btns.Add(new UITipWindowData.ItemData() { txt = "È¡Ïû" });
|
data.btns.Add(new UITipWindowData.ItemData() { txt = "·ñ" });
|
||||||
UIKit.OpenPanelAsync<UITipWindow>(uiData: data, canvasLevel: UILevel.PopUI).ToAction().StartGlobal();
|
UIKit.OpenPanelAsync<UITipWindow>(uiData: data, canvasLevel: UILevel.PopUI).ToAction().StartGlobal();
|
||||||
});
|
});
|
||||||
closeBtn.onClick.AddListener(Home);
|
closeBtn.onClick.AddListener(Home);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user