This commit is contained in:
wangzhixun 2025-11-04 23:12:52 +08:00
parent 1fb88e42be
commit c4773e0eee
5 changed files with 21 additions and 28 deletions

View File

@ -58,13 +58,13 @@ namespace ZTools
AddCloseBtn(); AddCloseBtn();
if (isStaticCalendar)
{
btnLastYear.gameObject.SetActive(false); btnLastYear.gameObject.SetActive(false);
btnNextYear.gameObject.SetActive(false); btnNextYear.gameObject.SetActive(false);
btnLastMonth.gameObject.SetActive(false); btnLastMonth.gameObject.SetActive(false);
btnNextMonth.gameObject.SetActive(false); btnNextMonth.gameObject.SetActive(false);
}
} }
/// <summary> /// <summary>
/// 生成一个日期对象 /// 生成一个日期对象

View File

@ -400,14 +400,14 @@ namespace Framework.Manager
if (currentIndex < orderedSteps.Count) if (currentIndex < orderedSteps.Count)
{ {
var currentStep = orderedSteps[currentIndex]; var currentStep = orderedSteps[currentIndex];
if (currentStep.isOpenUI)
{
// UIButton.SetActive(true);
}
else
{
UIButton.SetActive(false); UIButton.SetActive(false);
}
if (uiObjects.TryGetValue(currentStep.uiObjectName, out GameObject uiObject)) if (uiObjects.TryGetValue(currentStep.uiObjectName, out GameObject uiObject))
{ {
@ -504,14 +504,14 @@ namespace Framework.Manager
} }
} }
if (currentStep.isOpenUI)
{
// UIButton.SetActive(true);
}
else
{
UIButton.SetActive(false); UIButton.SetActive(false);
}
return true; return true;
} }
else else

View File

@ -15,13 +15,6 @@ namespace UnityStandardAssets.Utility
} }
private void DestroyNow()
{
if (m_DetachChildren)
{
transform.DetachChildren();
}
DestroyObject(gameObject);
}
} }
} }

View File

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

View File

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