Disable camera and player movement when using UI

SureSight

New member
I have lifted the UI straight out of the Opsive\UltimateCharacterController\Integrations\UltimateInventorySystem\Demo folder.

I wired it up to the gameobjects in my scene and it works. The only issue is that the player movement and camera movement are still enabled when using the UI for inventory, chest loot and crafting screens.

How do I enforce the mouse pointer to be visible and cease all camera and player movement when the UI is enabled?
 
Top