void Update()
    {
        if (Input.GetButton("Fire1"))
        {
            //Strategy Pattern
            currentWeapon.PrimaryFunction(true);
        }

        if (Input.GetButtonUp("Fire1"))
        {
            //Strategy Pattern
            currentWeapon.PrimaryFunction(false);
        }

        if (Input.GetButton("Fire2"))
        {
            //Strategy Pattern
            currentWeapon.SecondaryFunction(true);
        }

        if (Input.GetButtonUp("Fire2"))
        {
            //Strategy Pattern
            currentWeapon.SecondaryFunction(false);
        }

        if (Input.GetKeyDown("q"))
        {
            selectedWeapon = (selectedWeapon + 1) % transform.childCount;

            SelectWeapon();
        }
    }