Exemplo n.º 1
0
 private void OnHideWindowEvent(EventData ob = null)
 {
     RemoveCurrentWindow();
     if (WindowsQueue.Count == 0)
     {
         // turn off clicks catcher
         _uiCreator.HideClicksCatcher();
         //
         GameManager.Instance.Invoke("TryShowTutorFromQueue", 0.1f);
     }
     else
     {
         //// turn off clicks catcher already shown
         //_uiCreator.ClicksCatcher.transform.SetAsLastSibling();
         //_uiCreator.ClicksCatcher.SetActive(false);
         ////
         Transform windowTransform = WindowsQueue[WindowsQueue.Count - 1].transform;
         windowTransform.SetAsLastSibling();
     }
 }