private void Start()
    {
        NewbieGuideScriptControl.OpenGuideForm();
        this.mConfList = Singleton <NewbieGuideDataManager> .GetInstance().GetScriptList(this.currentMainLineId);

        if (this.mConfList == null)
        {
            this.CompleteAll();
        }
        else
        {
            NewbieGuideMainLineConf newbieGuideMainLineConf = Singleton <NewbieGuideDataManager> .GetInstance().GetNewbieGuideMainLineConf(this.currentMainLineId);

            if (newbieGuideMainLineConf != null)
            {
                this.mSavePoint = newbieGuideMainLineConf.iSavePoint;
                if (this.startIndex > 0)
                {
                    this.SetCurrentScriptIndex(this.startIndex - 1);
                }
                else
                {
                    this.SetCurrentScriptIndex(0);
                }
                this.CheckNext();
            }
        }
    }
    protected override void Update()
    {
        if (base.isInitialize)
        {
            base.Update();
            return;
        }
        CUIFormScript form = Singleton <CUIManager> .GetInstance().GetForm(FightForm.s_battleUIForm);

        if (form != null)
        {
            Transform transform = form.GetWidget(54).transform;
            this.info        = transform.FindChild("info").gameObject;
            this.highlighter = transform.FindChild("highlighter").gameObject;
            if (this.info && this.highlighter)
            {
                this.info.CustomSetActive(true);
                this.highlighter.CustomSetActive(true);
                this.eventScript = transform.GetComponent <CUIEventScript>();
                CUIEventScript expr_B2 = this.eventScript;
                expr_B2.onClick = (CUIEventScript.OnUIEventHandler)Delegate.Combine(expr_B2.onClick, new CUIEventScript.OnUIEventHandler(this.ClickHandler));
                Singleton <CTimerManager> .GetInstance().AddTimer(15000, 1, new CTimer.OnTimeUpHandler(this.OnTimeUp));
            }
        }
        base.isInitialize = true;
        base.isGuiding    = true;
        NewbieGuideScriptControl.CloseGuideForm();
    }
 private void ShowGuideMask(bool bShow)
 {
     if (NewbieGuideScriptControl.FormGuideMask != null)
     {
         NewbieGuideScriptControl.CloseGuideForm();
     }
 }
Beispiel #4
0
    private void AddSpecialTip()
    {
        if (NewbieGuideScriptControl.FormGuideMask != null)
        {
            GameObject gameObject = NewbieGuideScriptControl.FormGuideMask.transform.FindChild("GuideTextStatic").transform.gameObject;
            gameObject.CustomSetActive(false);
        }
        if (this.currentConf.wSpecialTip != 0)
        {
            if (NewbieGuideScriptControl.FormGuideMask == null)
            {
                NewbieGuideScriptControl.OpenGuideForm();
            }
            GameObject gameObject2 = NewbieGuideScriptControl.FormGuideMask.transform.FindChild("GuideTextStatic").transform.gameObject;
            gameObject2.CustomSetActive(false);
            NewbieGuideSpecialTipConf specialTipConfig = Singleton <NewbieGuideDataManager> .GetInstance().GetSpecialTipConfig((uint)this.currentConf.wSpecialTip);

            if (specialTipConfig != null && specialTipConfig.bGuideTextPos == 0)
            {
                gameObject2.CustomSetActive(true);
                GameObject gameObject3 = gameObject2.transform.FindChild("RightSpecial/Text").transform.gameObject;
                Text       component   = gameObject3.GetComponent <Text>();
                component.set_text(StringHelper.UTF8BytesToString(ref specialTipConfig.szTipText));
            }
        }
    }
Beispiel #5
0
 private void DestroyCurrentScriptControl()
 {
     this.mCurrentScriptControl.CompleteEvent    -= new NewbieGuideScriptControl.NewbieGuideScriptControlDelegate(this.NewbieGuideCompleteHandler);
     this.mCurrentScriptControl.SaveEvent        -= new NewbieGuideScriptControl.NewbieGuideScriptControlDelegate(this.NewbieGuideSaveHandler);
     this.mCurrentScriptControl.addScriptDelegate = null;
     UnityEngine.Object.Destroy(this.mCurrentScriptControl);
     this.mCurrentScriptControl = null;
     this.mCurrentNewbieGuideId = 0;
 }
 public void Stop()
 {
     if (this.mCurrentScript != null)
     {
         this.mCurrentScript.Stop();
     }
     this.DestroyCurrentScript();
     NewbieGuideScriptControl.CloseGuideForm();
 }
 private void CompleteAll()
 {
     NewbieGuideScriptControl.CloseGuideForm();
     this.curMainLineConf   = null;
     this.currentMainLineId = 0u;
     if (this.CompleteEvent != null)
     {
         this.CompleteEvent();
     }
 }
Beispiel #8
0
 private void ShowGuideMask(bool bShow)
 {
     if (bShow)
     {
         NewbieGuideScriptControl.OpenGuideForm();
     }
     else
     {
         NewbieGuideScriptControl.CloseGuideForm();
     }
 }
Beispiel #9
0
 private void TriggerNewbieGuide(NewbieGuideMainLineConf conf, int startIndex)
 {
     if (Singleton <NetworkModule> .GetInstance().lobbySvr.connected || (conf.bIndependentNet == 1))
     {
         this.SetCurrentNewbieGuideId(conf.dwID);
         this.mCurrentScriptControl = base.gameObject.AddComponent <NewbieGuideScriptControl>();
         this.mCurrentScriptControl.CompleteEvent += new NewbieGuideScriptControl.NewbieGuideScriptControlDelegate(this.NewbieGuideCompleteHandler);
         this.mCurrentScriptControl.SaveEvent     += new NewbieGuideScriptControl.NewbieGuideScriptControlDelegate(this.NewbieGuideSaveHandler);
         this.mCurrentScriptControl.SetData(conf.dwID, startIndex);
         this.mCurrentScriptControl.addScriptDelegate = addScriptDelegate;
     }
 }
        public void HighliterForActorClickHandler(CUIEvent uiEvt)
        {
            GameObject srcWidget = uiEvt.m_srcWidget;

            Singleton <CBattleGuideManager> .GetInstance().ResumeGame(srcWidget);

            Vector2 vector = CUIUtility.WorldToScreenPoint(NewbieGuideScriptControl.FormGuideMask.GetCamera(), srcWidget.transform.position);

            Singleton <LockModeScreenSelector> .GetInstance().OnClickBattleScene(vector);

            UnityEngine.Object.Destroy(srcWidget);
            NewbieGuideScriptControl.CloseGuideForm();
        }
        public void HighliterForActorClickHandler(CUIEvent uiEvt)
        {
            GameObject srcWidget = uiEvt.m_srcWidget;

            Singleton <CBattleGuideManager> .GetInstance().ResumeGame(srcWidget);

            CUIFormScript formGuideMask = NewbieGuideScriptControl.FormGuideMask;
            Vector2       screenPos     = CUIUtility.WorldToScreenPoint(formGuideMask.GetCamera(), srcWidget.transform.position);

            Singleton <LockModeScreenSelector> .GetInstance().OnClickBattleScene(screenPos);

            CUICommonSystem.DestoryObj(srcWidget, 0.1f);
            NewbieGuideScriptControl.CloseGuideForm();
        }
Beispiel #12
0
        public void AddHighlightForActor(PoolObjHandle <ActorRoot> actor, bool bPauseGame)
        {
            if (!actor)
            {
                return;
            }
            ActorRoot handle = actor.get_handle();

            if (!handle.InCamera)
            {
                return;
            }
            GameObject gameObject = Singleton <CResourceManager> .GetInstance().GetResource("UGUI/Form/System/Dialog/WeakGuideHighlighter.prefab", typeof(GameObject), 4, false, false).m_content as GameObject;

            if (gameObject != null)
            {
                GameObject gameObject2 = Object.Instantiate(gameObject) as GameObject;
                if (gameObject2 != null)
                {
                    if (NewbieGuideScriptControl.FormGuideMask == null)
                    {
                        NewbieGuideScriptControl.OpenGuideForm();
                    }
                    CUIFormScript formGuideMask = NewbieGuideScriptControl.FormGuideMask;
                    Transform     transform     = formGuideMask.transform;
                    Vector3       v             = CUIUtility.WorldToScreenPoint(Camera.main, (Vector3)handle.location);
                    Vector3       vector        = CUIUtility.ScreenToWorldPoint(formGuideMask.GetCamera(), v, transform.position.z);
                    Transform     transform2    = gameObject2.transform;
                    transform2.SetSiblingIndex(1);
                    transform2.SetParent(NewbieGuideScriptControl.FormGuideMask.transform);
                    formGuideMask.InitializeWidgetPosition(gameObject2, vector);
                    transform2.position   = vector;
                    transform2.localScale = Vector3.one;
                    CUIEventScript cUIEventScript = gameObject2.AddComponent <CUIEventScript>();
                    CUIEventScript expr_117       = cUIEventScript;
                    expr_117.onClick = (CUIEventScript.OnUIEventHandler)Delegate.Combine(expr_117.onClick, new CUIEventScript.OnUIEventHandler(this.HighliterForActorClickHandler));
                    Singleton <CBattleGuideManager> .GetInstance().PauseGame(gameObject2, false);
                }
            }
        }
Beispiel #13
0
        public void AddHighlightForActor(PoolObjHandle <ActorRoot> actor, bool bPauseGame)
        {
            if (actor != 0)
            {
                ActorRoot handle = actor.handle;
                if (handle.InCamera)
                {
                    GameObject content = Singleton <CResourceManager> .GetInstance().GetResource("UGUI/Form/System/Dialog/WeakGuideHighlighter.prefab", typeof(GameObject), enResourceType.UIPrefab, false, false).m_content as GameObject;

                    if (content != null)
                    {
                        GameObject widget = UnityEngine.Object.Instantiate(content) as GameObject;
                        if (widget != null)
                        {
                            if (NewbieGuideScriptControl.FormGuideMask == null)
                            {
                                NewbieGuideScriptControl.OpenGuideForm();
                            }
                            CUIFormScript formGuideMask = NewbieGuideScriptControl.FormGuideMask;
                            Transform     transform     = formGuideMask.transform;
                            Vector3       screenPoint   = (Vector3)CUIUtility.WorldToScreenPoint(Camera.main, (Vector3)handle.location);
                            Vector3       worldPosition = CUIUtility.ScreenToWorldPoint(formGuideMask.GetCamera(), screenPoint, transform.position.z);
                            Transform     transform2    = widget.transform;
                            transform2.SetSiblingIndex(1);
                            transform2.SetParent(NewbieGuideScriptControl.FormGuideMask.transform);
                            formGuideMask.InitializeWidgetPosition(widget, worldPosition);
                            transform2.position   = worldPosition;
                            transform2.localScale = Vector3.one;
                            CUIEventScript local1 = widget.AddComponent <CUIEventScript>();
                            local1.onClick = (CUIEventScript.OnUIEventHandler)Delegate.Combine(local1.onClick, new CUIEventScript.OnUIEventHandler(this.HighliterForActorClickHandler));
                            Singleton <CBattleGuideManager> .GetInstance().PauseGame(widget, false);
                        }
                    }
                }
            }
        }
Beispiel #14
0
    private void AddHighlightInternal(GameObject baseGo, CUIFormScript inOriginalForm, bool cloneEvent, bool bShowFinger)
    {
        this.PreHighlight();
        if (baseGo != null)
        {
            NewbieGuideBaseScript.ms_originalGo.Add(baseGo);
        }
        NewbieGuideBaseScript.ms_originalForm = inOriginalForm;
        this.OpenGuideForm();
        if (NewbieGuideScriptControl.FormGuideMask == null)
        {
            NewbieGuideScriptControl.OpenGuideForm();
        }
        List <GameObject> .Enumerator enumerator = NewbieGuideBaseScript.ms_originalGo.GetEnumerator();
        int num = 0;

        while (enumerator.MoveNext())
        {
            GameObject current = enumerator.get_Current();
            if (!(current == null))
            {
                GameObject gameObject = Object.Instantiate(current) as GameObject;
                if (!(gameObject == null))
                {
                    RectTransform rectTransform = gameObject.transform as RectTransform;
                    rectTransform.SetParent(NewbieGuideScriptControl.FormGuideMask.transform);
                    rectTransform.SetSiblingIndex(1);
                    rectTransform.localScale = current.transform.localScale;
                    RectTransform rectTransform2 = current.transform as RectTransform;
                    rectTransform.pivot     = rectTransform2.pivot;
                    rectTransform.sizeDelta = rectTransform2.sizeDelta;
                    LayoutElement component = current.GetComponent <LayoutElement>();
                    if (component != null && rectTransform.sizeDelta == Vector2.zero)
                    {
                        rectTransform.sizeDelta = new Vector2(component.get_preferredWidth(), component.get_preferredHeight());
                    }
                    rectTransform.position = current.transform.position;
                    Vector2 screenPoint   = CUIUtility.WorldToScreenPoint(inOriginalForm.GetCamera(), current.transform.position);
                    Vector3 worldPosition = CUIUtility.ScreenToWorldPoint(NewbieGuideScriptControl.FormGuideMask.GetCamera(), screenPoint, rectTransform.position.z);
                    NewbieGuideScriptControl.FormGuideMask.InitializeWidgetPosition(gameObject, worldPosition);
                    gameObject.CustomSetActive(false);
                    if (cloneEvent)
                    {
                        CUIEventScript component2 = current.GetComponent <CUIEventScript>();
                        CUIEventScript component3 = gameObject.GetComponent <CUIEventScript>();
                        if (component2 && component3)
                        {
                            component3.m_onDownEventParams      = component2.m_onDownEventParams;
                            component3.m_onUpEventParams        = component2.m_onUpEventParams;
                            component3.m_onClickEventParams     = component2.m_onClickEventParams;
                            component3.m_onHoldStartEventParams = component2.m_onHoldStartEventParams;
                            component3.m_onHoldEventParams      = component2.m_onHoldEventParams;
                            component3.m_onHoldEndEventParams   = component2.m_onHoldEndEventParams;
                            component3.m_onDragStartEventParams = component2.m_onDragStartEventParams;
                            component3.m_onDragEventParams      = component2.m_onDragEventParams;
                            component3.m_onDragEndEventParams   = component2.m_onDragEndEventParams;
                            component3.m_onDropEventParams      = component2.m_onDropEventParams;
                            component3.m_closeFormWhenClicked   = component2.m_closeFormWhenClicked;
                            component3.m_belongedFormScript     = component2.m_belongedFormScript;
                            component3.m_belongedListScript     = component2.m_belongedListScript;
                            component3.m_indexInlist            = component2.m_indexInlist;
                        }
                        CUIMiniEventScript component4 = current.GetComponent <CUIMiniEventScript>();
                        CUIMiniEventScript component5 = gameObject.GetComponent <CUIMiniEventScript>();
                        if (component4 && component5)
                        {
                            component5.m_onDownEventParams    = component4.m_onDownEventParams;
                            component5.m_onUpEventParams      = component4.m_onUpEventParams;
                            component5.m_onClickEventParams   = component4.m_onClickEventParams;
                            component5.m_closeFormWhenClicked = component4.m_closeFormWhenClicked;
                            component5.m_belongedFormScript   = component4.m_belongedFormScript;
                            component5.m_belongedListScript   = component4.m_belongedListScript;
                            component5.m_indexInlist          = component4.m_indexInlist;
                        }
                    }
                    else
                    {
                        CUIEventScript component6 = gameObject.GetComponent <CUIEventScript>();
                        if (component6)
                        {
                            component6.enabled = false;
                        }
                        CUIMiniEventScript component7 = gameObject.GetComponent <CUIMiniEventScript>();
                        if (component7)
                        {
                            component7.enabled = false;
                        }
                    }
                    gameObject.CustomSetActive(true);
                    CUIAnimatorScript component8 = current.GetComponent <CUIAnimatorScript>();
                    if (component8 != null)
                    {
                        CUICommonSystem.PlayAnimator(gameObject, component8.m_currentAnimatorStateName);
                    }
                    NewbieGuideBaseScript.ms_highlitGo.Add(gameObject);
                    if (bShowFinger)
                    {
                        GameObject gameObject2 = Singleton <CResourceManager> .GetInstance().GetResource("UGUI/Form/System/Dialog/WeakGuideHighlighter.prefab", typeof(GameObject), enResourceType.UIPrefab, false, false).m_content as GameObject;

                        if (gameObject2 != null)
                        {
                            GameObject gameObject3 = Object.Instantiate(gameObject2) as GameObject;
                            if (gameObject3 != null)
                            {
                                gameObject3.transform.SetParent(gameObject.transform);
                                Transform transform = gameObject3.transform;
                                switch (this.currentConf.wFlipType)
                                {
                                case 0:
                                    transform.localScale = NewbieGuideBaseScript.s_FlipNone;
                                    break;

                                case 1:
                                    transform.localScale = NewbieGuideBaseScript.s_FlipX;
                                    break;

                                case 2:
                                    transform.localScale = NewbieGuideBaseScript.s_FlipY;
                                    break;

                                case 3:
                                    transform.localScale = NewbieGuideBaseScript.s_FlipXY;
                                    break;
                                }
                                gameObject3.transform.position = gameObject.transform.position;
                                (gameObject3.transform as RectTransform).anchoredPosition = new Vector2((float)this.currentConf.iOffsetHighLightX, (float)this.currentConf.iOffsetHighLightY);
                                if (!this.DoesShowArrow())
                                {
                                    gameObject3.transform.FindChild("Panel/ImageFinger").gameObject.CustomSetActive(false);
                                }
                                NewbieGuideBaseScript.ms_highlighter.Add(gameObject3);
                            }
                        }
                    }
                    if (num == 0 && this.currentConf.wSpecialTip != 0)
                    {
                        NewbieGuideSpecialTipConf specialTipConfig = Singleton <NewbieGuideDataManager> .GetInstance().GetSpecialTipConfig((uint)this.currentConf.wSpecialTip);

                        if (specialTipConfig != null && specialTipConfig.bGuideTextPos > 0)
                        {
                            GameObject gameObject4 = NewbieGuideBaseScript.InstantiateGuideText(specialTipConfig, gameObject, NewbieGuideScriptControl.FormGuideMask, inOriginalForm);
                            if (gameObject4 != null)
                            {
                                NewbieGuideBaseScript.ms_guideTextList.Add(gameObject4);
                                gameObject4.CustomSetActive(false);
                            }
                        }
                    }
                    num++;
                }
            }
        }
    }
    private void AddHighlightInternal(GameObject baseGo, CUIFormScript inOriginalForm, bool cloneEvent, params GameObject[] addGo)
    {
        this.PreHighlight();
        if (baseGo != null)
        {
            ms_originalGo.Add(baseGo);
        }
        if (addGo != null)
        {
            ms_originalGo.AddRange(addGo);
        }
        ms_originalForm = inOriginalForm;
        this.OpenGuideForm();
        if (NewbieGuideScriptControl.FormGuideMask == null)
        {
            NewbieGuideScriptControl.OpenGuideForm();
        }
        List <GameObject> .Enumerator enumerator = ms_originalGo.GetEnumerator();
        int num = 0;

        while (enumerator.MoveNext())
        {
            GameObject current = enumerator.Current;
            if (current != null)
            {
                GameObject widget = UnityEngine.Object.Instantiate(current) as GameObject;
                if (widget != null)
                {
                    RectTransform transform = widget.transform as RectTransform;
                    transform.SetParent(NewbieGuideScriptControl.FormGuideMask.transform);
                    transform.SetSiblingIndex(1);
                    transform.localScale = current.transform.localScale;
                    RectTransform transform2 = current.transform as RectTransform;
                    transform.pivot     = transform2.pivot;
                    transform.sizeDelta = transform2.sizeDelta;
                    LayoutElement component = current.GetComponent <LayoutElement>();
                    if ((component != null) && (transform.sizeDelta == Vector2.zero))
                    {
                        transform.sizeDelta = new Vector2(component.preferredWidth, component.preferredHeight);
                    }
                    transform.position = current.transform.position;
                    Vector2 screenPoint   = CUIUtility.WorldToScreenPoint(inOriginalForm.GetCamera(), current.transform.position);
                    Vector3 worldPosition = CUIUtility.ScreenToWorldPoint(NewbieGuideScriptControl.FormGuideMask.GetCamera(), screenPoint, transform.position.z);
                    NewbieGuideScriptControl.FormGuideMask.InitializeWidgetPosition(widget, worldPosition);
                    widget.CustomSetActive(false);
                    if (cloneEvent)
                    {
                        CUIEventScript script  = current.GetComponent <CUIEventScript>();
                        CUIEventScript script2 = widget.GetComponent <CUIEventScript>();
                        if ((script != null) && (script2 != null))
                        {
                            script2.m_onDownEventParams      = script.m_onDownEventParams;
                            script2.m_onUpEventParams        = script.m_onUpEventParams;
                            script2.m_onClickEventParams     = script.m_onClickEventParams;
                            script2.m_onHoldStartEventParams = script.m_onHoldStartEventParams;
                            script2.m_onHoldEventParams      = script.m_onHoldEventParams;
                            script2.m_onHoldEndEventParams   = script.m_onHoldEndEventParams;
                            script2.m_onDragStartEventParams = script.m_onDragStartEventParams;
                            script2.m_onDragEventParams      = script.m_onDragEventParams;
                            script2.m_onDragEndEventParams   = script.m_onDragEndEventParams;
                            script2.m_onDropEventParams      = script.m_onDropEventParams;
                            script2.m_closeFormWhenClicked   = script.m_closeFormWhenClicked;
                            script2.m_belongedFormScript     = script.m_belongedFormScript;
                            script2.m_belongedListScript     = script.m_belongedListScript;
                            script2.m_indexInlist            = script.m_indexInlist;
                        }
                        CUIMiniEventScript script3 = current.GetComponent <CUIMiniEventScript>();
                        CUIMiniEventScript script4 = widget.GetComponent <CUIMiniEventScript>();
                        if ((script3 != null) && (script4 != null))
                        {
                            script4.m_onDownEventParams    = script3.m_onDownEventParams;
                            script4.m_onUpEventParams      = script3.m_onUpEventParams;
                            script4.m_onClickEventParams   = script3.m_onClickEventParams;
                            script4.m_closeFormWhenClicked = script3.m_closeFormWhenClicked;
                            script4.m_belongedFormScript   = script3.m_belongedFormScript;
                            script4.m_belongedListScript   = script3.m_belongedListScript;
                            script4.m_indexInlist          = script3.m_indexInlist;
                        }
                    }
                    else
                    {
                        CUIEventScript script5 = widget.GetComponent <CUIEventScript>();
                        if (script5 != null)
                        {
                            script5.enabled = false;
                        }
                        CUIMiniEventScript script6 = widget.GetComponent <CUIMiniEventScript>();
                        if (script6 != null)
                        {
                            script6.enabled = false;
                        }
                    }
                    widget.CustomSetActive(true);
                    CUIAnimatorScript script7 = current.GetComponent <CUIAnimatorScript>();
                    if (script7 != null)
                    {
                        CUICommonSystem.PlayAnimator(widget, script7.m_currentAnimatorStateName);
                    }
                    ms_highlitGo.Add(widget);
                    GameObject content = Singleton <CResourceManager> .GetInstance().GetResource("UGUI/Form/System/Dialog/WeakGuideHighlighter.prefab", typeof(GameObject), enResourceType.UIPrefab, false, false).m_content as GameObject;

                    if (content != null)
                    {
                        GameObject item = UnityEngine.Object.Instantiate(content) as GameObject;
                        if (item != null)
                        {
                            item.transform.SetParent(widget.transform);
                            Transform transform3 = item.transform;
                            switch (this.currentConf.wFlipType)
                            {
                            case 0:
                                transform3.localScale = s_FlipNone;
                                break;

                            case 1:
                                transform3.localScale = s_FlipX;
                                break;

                            case 2:
                                transform3.localScale = s_FlipY;
                                break;

                            case 3:
                                transform3.localScale = s_FlipXY;
                                break;
                            }
                            item.transform.position = widget.transform.position;
                            (item.transform as RectTransform).anchoredPosition = new Vector2((float)this.currentConf.iOffsetHighLightX, (float)this.currentConf.iOffsetHighLightY);
                            if (!this.DoesShowArrow())
                            {
                                item.transform.FindChild("Panel/ImageFinger").gameObject.CustomSetActive(false);
                            }
                            ms_highlighter.Add(item);
                        }
                    }
                    if ((num == 0) && (this.currentConf.wSpecialTip != 0))
                    {
                        NewbieGuideSpecialTipConf specialTipConfig = Singleton <NewbieGuideDataManager> .GetInstance().GetSpecialTipConfig(this.currentConf.wSpecialTip);

                        if ((specialTipConfig != null) && (specialTipConfig.bGuideTextPos > 0))
                        {
                            GameObject obj6 = InstantiateGuideText(specialTipConfig, widget, NewbieGuideScriptControl.FormGuideMask, inOriginalForm);
                            if (obj6 != null)
                            {
                                ms_guideTextList.Add(obj6);
                                obj6.CustomSetActive(false);
                            }
                        }
                    }
                    num++;
                }
            }
        }
    }