/// <summary>
    /// 根据摇杆的输入来更新控制单位的移动
    /// </summary>
    void Update()
    {
        float x = CrossPlatformInputManager.GetAxis(Joystick.horizontalAxisName);
        float y = CrossPlatformInputManager.GetAxis(Joystick.verticalAxisName);

        if (x != 0 || y != 0)
        {
            Debug.Log(x + "," + y);
            if (fightUnit != null)
            {
                Debug.Log("move by control");
                fightUnit.MoveByControl();
            }
        }
    }