Example #1
0
    public static void OpenInterlude(GuideItem item, Action callback)
    {
        if (item.type != EnumGuideType.Interlude)
        {
            return;
        }

        OpenInterlude(item.titleId, item.audio, callback);
    }
Example #2
0
    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();
    }