/// <summary> /// 初始化运动. /// </summary> void InitMove() { if (IsMoveNpc == true) { return; } if (m_NpcMoveCom != null) { m_NpcMoveCom.CloseBossMoveing(); } m_MoveDir = 1f; IsMoveNpc = true; IsHitCenterTrigger = true; m_CountHitFanWeiTrigger = 0; //停止镜头移动. XkGameCtrl.GetInstance().SetGameCameraIsMoveing(false, NpcJiFenEnum.Boss); }