fix:1、多语言添加
This commit is contained in:
@@ -158,24 +158,24 @@ namespace ChillConnect
|
||||
{
|
||||
ui.btn_us.visible = true;
|
||||
}
|
||||
ui.btn_restore.SetClick(() =>
|
||||
{
|
||||
ApplePayManager.Instance.AppleRestore((success, message) =>
|
||||
{
|
||||
if (success)
|
||||
{
|
||||
GameHelper.ShowTips("Restore Purchases Success!");
|
||||
// SaveData.GetSaveObject().is_get_packreward = success;
|
||||
SaveData.GetSaveObject().have_slot = success;
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.noads_refresh);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Debug.Log("[barry] restore failed: " + success);
|
||||
GameHelper.ShowTips("There are no recoverable transactions");
|
||||
}
|
||||
});
|
||||
});
|
||||
// ui.btn_restore.SetClick(() =>
|
||||
// {
|
||||
// ApplePayManager.Instance.AppleRestore((success, message) =>
|
||||
// {
|
||||
// if (success)
|
||||
// {
|
||||
// GameHelper.ShowTips("Restore Purchases Success!");
|
||||
// // SaveData.GetSaveObject().is_get_packreward = success;
|
||||
// SaveData.GetSaveObject().have_slot = success;
|
||||
// GameDispatcher.Instance.Dispatch(GameMsg.noads_refresh);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// // Debug.Log("[barry] restore failed: " + success);
|
||||
// GameHelper.ShowTips("There are no recoverable transactions");
|
||||
// }
|
||||
// });
|
||||
// });
|
||||
}
|
||||
|
||||
private void SetSlideValue()
|
||||
@@ -279,7 +279,7 @@ namespace ChillConnect
|
||||
|
||||
if (string.IsNullOrEmpty(name) || name.IsNullOrWhiteSpace())
|
||||
{
|
||||
GameHelper.ShowTips("The input cannot be null", true);
|
||||
GameHelper.ShowTips("empty_input", true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user