Yes - exactly.
I've often wondered what kind of manned aircraft defence could kill an unmanned adversary that can easily tolerate +/-20g maneuverability and the very low wing loadings that some of these UCAV designs appear likely to have in future.
Probably only a laser, a minaturised
aircraft mounted version of this, or some kind of ventral or dorsal self targeting gun turret, with the ability to move and train at extreme speed - coupled with a prodigious rate of fire - a sort of airborne close-in weapon system.
Maybe people who know more about ACM than I do can contribute... I assume the issue is how quickly a UCAV would be able to change its vector?