4.0002
This commit is contained in:
parent
1fb88e42be
commit
c4773e0eee
|
|
@ -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>
|
||||||
/// 生成一个日期对象
|
/// 生成一个日期对象
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -15,13 +15,6 @@ namespace UnityStandardAssets.Utility
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void DestroyNow()
|
|
||||||
{
|
|
||||||
if (m_DetachChildren)
|
|
||||||
{
|
|
||||||
transform.DetachChildren();
|
|
||||||
}
|
|
||||||
DestroyObject(gameObject);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -216,7 +216,7 @@ namespace Cysharp.Threading.Tasks.Internal
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
if (lockTaken) gate.Exit(false);
|
gate.Exit(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue