// Update is called once per frame
    protected override void Update()
    {
        base.Update();
        MovementControl();

        for (int i = 0; i < abilityInfo.Length; i++)
        {
            if (abilityInfo[i].CD > 0)
            {
                abilityInfo[i].CD -= Time.deltaTime;
            }
        }

        if (GCD > 0)
        {
            GCD -= Time.deltaTime;
        }


        if (m_animationControl)
        {
            m_animationControl.SetSpeed(new Vector3(rb.velocity.x, rb.velocity.y, rb.velocity.z).magnitude);
            m_animationControl.SetDirectionAndForward(rb.velocity, transform.right);
        }
    }