4.0001
This commit is contained in:
parent
a49ed1e54f
commit
1fb88e42be
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -54,10 +54,10 @@ namespace ZTools
|
|||
|
||||
SetItemSize();
|
||||
|
||||
if (isPopupCalendar)
|
||||
{
|
||||
|
||||
|
||||
AddCloseBtn();
|
||||
}
|
||||
|
||||
if (isStaticCalendar)
|
||||
{
|
||||
btnLastYear.gameObject.SetActive(false);
|
||||
|
|
|
|||
|
|
@ -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; // 默认返回失败
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ namespace Cysharp.Threading.Tasks.Internal
|
|||
}
|
||||
finally
|
||||
{
|
||||
if (lockTaken) gate.Exit(false);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue