Forum:Zw-unicorn spear vs shooting star dragons eff to negate an atk

If you attack shooting star dragon with a number c39 utopia ray while its equipped with zw-unicorn spear can shooting star dragon negate the attack or does unicorn spear negate shooting stars effect first?