This commit is contained in:
wangzhixun 2025-11-04 22:55:13 +08:00
parent a49ed1e54f
commit 1fb88e42be
6 changed files with 20 additions and 20 deletions

View File

@ -60,13 +60,13 @@ namespace ZTools
zCalendarModel.Init();
if (zCalendarModel.isStaticCalendar) return;
// <20><>̬<EFBFBD><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɹر<C9B9>
if (zCalendarModel.isPopupCalendar)
{
zCalendarModel.btnClose.onClick.AddListener(() =>
{
Hide();
});
}
zCalendarModel.btnLastYear.onClick.AddListener(LastYear);
zCalendarModel.btnNextYear.onClick.AddListener(NextYear);
zCalendarModel.btnLastMonth.onClick.AddListener(LastMonth);

View File

@ -54,10 +54,10 @@ namespace ZTools
SetItemSize();
if (isPopupCalendar)
{
AddCloseBtn();
}
if (isStaticCalendar)
{
btnLastYear.gameObject.SetActive(false);

View File

@ -588,19 +588,19 @@ namespace Framework.Manager
{
Debug.LogWarning($"多次尝试({maxAttempts}次)后仍未找到UI对象: {step.uiObjectName}");
// 判断是否自动跳过
//bool autoSkipMissingUI = false; // 可以添加配置选项控制此行为
//if (autoSkipMissingUI)
//{
// Debug.Log($"自动跳过未找到的UI对象: {step.uiObjectName}");
// TriggerNextGuide(); // 跳过当前步骤,继续下一个
// return true; // 虽然UI对象未找到但已自动跳过视为成功
//}
//else
//{
Debug.Log($"等待UI对象: {step.uiObjectName} 注册后继续引导");
return false; // 延迟查找失败
//}
}
return false; // 默认返回失败

View File

@ -66,7 +66,7 @@ namespace Cysharp.Threading.Tasks.Internal
}
finally
{
if (lockTaken) gate.Exit(false);
}
}

View File

@ -10,7 +10,7 @@ namespace Cysharp.Threading.Tasks.Linq
if (count < 0) throw Error.ArgumentOutOfRange(nameof(count));
var end = (long)start + count - 1L;
if (end > int.MaxValue) throw Error.ArgumentOutOfRange(nameof(count));
throw Error.ArgumentOutOfRange(nameof(count));
if (count == 0) UniTaskAsyncEnumerable.Empty<int>();