Hello.
Sorry for my english.
When I enable the Follow Cursor setting in the Game Camera 2d component.
Is it possible to stop the camera following the cursor when hovering the mouse over a certain tagged hotspot. At the same time, so that the camera movement resumes if I remove the cursor from the hotspot.
Thanks
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
You can't pause the effects of the cursor on the camera - reducing the panning factor or disabling it will cause the camera to revert to its original position.
You'd instead have to switch to a separate Camera that's positioned over the Hotspot.
To do so when a given Hotspot is selected, attach a custom script to it that hooks into the OnHotspotSelect / OnHotspotDeselect custom events: