private static void OnTalkBtnClick(GameObject obj)
    {
        if (mShowWordList)
        {
            mWordConfigIter++;
            if (mWordConfigIter >= mWordConfigList.Count)
            {
                NGUITools.SetActive(mTalkTargetObj, false);
                Globals.Instance.MTeachManager.NewGUISingleDropFinishedEvent();

                if (TalkFinishedEvents != null)
                {
                    TalkFinishedEvents();
                    TalkFinishedEvents = null;
                }

                mShowWordList = false;
                return;
            }
            else
            {
                UILabel uiLabel     = mTalkTargetObj.transform.Find("UILable").GetComponent <UILabel>();
                UILabel uiLabelName = mTalkTargetObj.transform.Find("UILableName").GetComponent <UILabel>();
                uiLabel.text = Globals.Instance.MDataTableManager.GetWordText(mWordConfigList[mWordConfigIter]);
                string name = "";
                if (mWordConfigIter < mWordNameList.Count)
                {
                    name = mWordNameList[mWordConfigIter];
                }
                uiLabelName.text = name;
            }
        }
        else
        {
            NGUITools.SetActive(mTalkTargetObj, false);
            Globals.Instance.MTeachManager.NewGUISingleDropFinishedEvent();

            if (TalkFinishedEvents != null)
            {
                TalkFinishedEvents();
                TalkFinishedEvents = null;
                GUISingleDrop guiSingleDrop = Globals.Instance.MGUIManager.GetGUIWindow <GUISingleDrop>();
                if (guiSingleDrop != null)
                {
                    guiSingleDrop.Close();
                }
            }
        }
    }
 private void OnClickBookFinish(GameObject obj)
 {
     mShowBookNum = 0;
     if (mShowNum == 0)
     {
         if (DropFinishedEvents != null)
         {
             DropFinishedEvents(gameObject);
             DropFinishedEvents = null;
             GUISingleDrop guiSingleDrop = Globals.Instance.MGUIManager.GetGUIWindow <GUISingleDrop>();
             if (guiSingleDrop != null)
             {
                 guiSingleDrop.Close();
             }
         }
         Globals.Instance.MTeachManager.NewGUISingleDropFinishedEvent();
     }
 }
    private void OnTweenGroupFinishedEvent(GameObject tweenGameObj, bool isAutoJump)
    {
        TweenGroup tweenGroup = tweenGameObj.GetComponent <TweenGroup>();

        tweenGroup.TweenFinishedEvents -= OnTweenGroupFinishedEvent;
        mShowNum--;
        Debug.Log("OnTweenGroupFinishedEvent mShowNum is :" + mShowNum);
        if (mShowNum == 0 && mShowBookNum == 0)
        {
            Debug.Log("OnTweenGroupFinishedEvent   mShowNum == 0 mCurTime is :" + mCurTime);
            if (DropFinishedEvents != null)
            {
                DropFinishedEvents(gameObject);
                DropFinishedEvents = null;
                GUISingleDrop guiSingleDrop = Globals.Instance.MGUIManager.GetGUIWindow <GUISingleDrop>();
                if (guiSingleDrop != null)
                {
                    guiSingleDrop.Close();
                }
            }
            Globals.Instance.MTeachManager.NewGUISingleDropFinishedEvent();
        }
        GameObject.DestroyObject(tweenGameObj);
    }