I am trying to lock a function until any input has been detected - so key, mouse click, mouse move, controller button or axis. I am using Unity’s new input system. All I can find online is the old input system.
The function I am trying to lock is a CameraRotation function that causes the third person camera to rotate around the player - however depending on where the mouse pointer sits when the game starts, the camera starts facing in a random direction. I figure if I just bool that function until any input is detected, the camera should start facing in the correct direction until the player starts looking around.