| | |
| | | if (windowTimer > windowInfo.tween.duration)
|
| | | {
|
| | | OnAfterOpen();
|
| | | //检查蒙版是否正常
|
| | | try
|
| | | {
|
| | | if (windowMask != null)
|
| | | {
|
| | | Debug.Log("windowMask:" + windowMask.transform.GetSiblingIndex() + " rectTransform:" + rectTransform.GetSiblingIndex() + " name:" + this.rectTransform.name);
|
| | | if (windowMask.transform.GetSiblingIndex() >= rectTransform.GetSiblingIndex())
|
| | | {
|
| | | windowMask.transform.SetSiblingIndex(rectTransform.GetSiblingIndex());
|
| | | }
|
| | | }
|
| | | }
|
| | | catch (System.Exception ex)
|
| | | {
|
| | | OperationLogCollect.Instance.BugReportSys(ex.ToString());
|
| | | Debug.LogError(ex.StackTrace);
|
| | | }
|
| | |
|
| | | try
|
| | | {
|
| | | WindowCenter.Instance.NotifyAfterOpen(this);
|
| | |
| | | else
|
| | | {
|
| | | OnAfterOpen();
|
| | | //检查蒙版是否正常
|
| | | try
|
| | | {
|
| | | if (windowMask != null)
|
| | | {
|
| | | Debug.Log("windowMask:" + windowMask.transform.GetSiblingIndex() + " rectTransform:" + rectTransform.GetSiblingIndex() + " name:" + this.rectTransform.name);
|
| | | if (windowMask.transform.GetSiblingIndex() >= rectTransform.GetSiblingIndex())
|
| | | {
|
| | | windowMask.transform.SetSiblingIndex(rectTransform.GetSiblingIndex());
|
| | | }
|
| | | }
|
| | | }
|
| | | catch (System.Exception ex)
|
| | | {
|
| | | OperationLogCollect.Instance.BugReportSys(ex.ToString());
|
| | | Debug.LogError(ex.StackTrace);
|
| | | }
|
| | |
|
| | | try
|
| | | {
|
| | | WindowCenter.Instance.NotifyAfterOpen(this);
|