public static void OpenInterlude(GuideItem item, Action callback) { if (item.type != EnumGuideType.Interlude) { return; } OpenInterlude(item.titleId, item.audio, callback); }
public void RefreshGuideWindow(GuideInfo.GuideItem guideItem) { //Logger.LogDetail("base panel with name :{0} RefreshGuideWindow...",gameObject.name); m_currentItem = guideItem; if (m_currentItem == null) { RefreshOnGuideEnd(); return; } gameObject.SetActive(guideItem.type == panelType); if (guideItem.type == EnumGuideType.Dialog || guideItem.type != panelType) { return; } OnRefreshGuide(); }