public override bool OnEnter()
 {
     CurrArgs.m_bValue1 = false;
     myTree             = CurrCtrl.GetComponentInChildren <BehaviorTree> ();
     myAni             = CurrCtrl.GetChild(0).GetComponent <Animator> ();
     skeletonAnimation = CurrCtrl.GetChild(0).GetComponent <SkeletonAnimation> ();
     agent             = CurrCtrl.GetComponentInChildren <PolyNavAgent> ();
     m_BufferCrl       = CurrCtrl.GetComponentInChildren <BufferController> ();
     actionCtl         = CurrCtrl.GetComponent <MonsterActionCtl> ();
     //怪物停止移动
     if (!actionCtl.superArmor)
     {
         if (CurrArgs.m_iBufferUI == 1)
         {
             dizznessBuff = Resources.Load("MonsterResources/MonsterBuffs/MonsterDizznessBuff") as GameObject;
             temp         = GameObject.Instantiate(dizznessBuff, CurrCtrl.GetComponent <MonsterMessage> ().monsterHead.transform.position, Quaternion.identity) as GameObject;
             if (CurrCtrl.transform.rotation.y != 0f)
             {
                 temp.transform.rotation = new Quaternion(0f, 180f, 0f, 0f);
             }
             temp.transform.SetParent(CurrCtrl.GetComponent <MonsterMessage> ().monsterHead.transform);
             temp.transform.localScale = new Vector3(m_BufferCrl.buffScale, m_BufferCrl.buffScale, m_BufferCrl.buffScale);
             temp.transform.position   = new Vector3(temp.transform.position.x + m_BufferCrl.xDis, temp.transform.position.y + m_BufferCrl.yDis, temp.transform.position.z);
         }
         CurrArgs.m_bValue1 = true;
         actionCtl.EntryFetter();
     }
     return(true);
 }