做新UI
This commit is contained in:
@@ -54,11 +54,12 @@ namespace NBF
|
||||
|
||||
protected override void OnShow()
|
||||
{
|
||||
// TextTitle.SetLanguage(_title);
|
||||
BtnConfirm.SetLanguage(_confirmText);
|
||||
// BtnCancel.SetLanguage(_cancelText);
|
||||
BtnConfirm1.SetLanguage(_confirmText);
|
||||
BtnConfirm2.SetLanguage(_confirmText);
|
||||
BtnCancel.SetLanguage(_cancelText);
|
||||
// MessageStyle.selectedIndex = _style;
|
||||
TextTitle.SetLanguage(_content);
|
||||
TextTitle.SetLanguage(_title);
|
||||
TextContent.SetLanguage(_content);
|
||||
}
|
||||
|
||||
private void OnUICanceled(string action)
|
||||
@@ -84,7 +85,7 @@ namespace NBF
|
||||
|
||||
private void OnClick(GComponent btn)
|
||||
{
|
||||
ClosePanel(btn == BtnConfirm);
|
||||
ClosePanel(btn == BtnConfirm1 || btn == BtnConfirm2);
|
||||
}
|
||||
|
||||
private void ClosePanel(bool ret)
|
||||
|
||||
Reference in New Issue
Block a user