Beispiel #1
0
 public void HideTutorial(string id = "")
 {
     if (GameManager.Instance.GameFlow.IsSomeWindow() && GameFlow.GetCurrentActiveWindowId() == UIConsts.FORM_ID.TUTOR_WINDOW)
     {
         EventData eventData = new EventData("OnOpenFormNeededEvent");
         eventData.Data["form"] = UIConsts.FORM_ID.TUTOR_WINDOW;
         eventData.Data["id"]   = id;
         eventData.Data["hide"] = true;
         GameManager.Instance.EventManager.CallOnOpenFormNeededEvent(eventData);
     }
 }