public Data_ActionConfig GetCharacterCurActionConfig(List <int> action_list)
 {
     for (int i = 0; i < action_list.Count; ++i)
     {
         Data_ActionConfig action_config = GetDataById(action_list[i]);
         if (action_config != null)
         {
             return(action_config);
         }
     }
     return(null);
 }
        protected void GetAnimationDirAndSpeed(MovementMode mode, float move_speed, out Animation_Type at, out float speed_factor)
        {
            Data_ActionConfig action_config = m_CurActionConfig;

            if (mode == MovementMode.LowSpeed)
            {
                at = Animation_Type.AT_SlowMove;
            }
            else if (mode == MovementMode.HighSpeed)
            {
                at = Animation_Type.AT_FastMove;
            }
            else
            {
                at = Animation_Type.AT_RunForward;
            }
            if (action_config != null)
            {
                if (mode == MovementMode.LowSpeed)
                {
                    speed_factor = move_speed / action_config.m_SlowStdSpeed;
                }
                else if (mode == MovementMode.HighSpeed)
                {
                    speed_factor = move_speed / action_config.m_FastStdSpeed;
                }
                else
                {
                    speed_factor = move_speed / action_config.m_ForwardStdSpeed;
                }
            }
            else
            {
                speed_factor = 1.0f;
            }
        }