Input System
public sealed class InputSystem : StateService<InputState>, IInitSystem, IUpdateSystem, IDisposable
Class to control most of the player’s input, like mouse clicks, hotkeys, etc. It exposes the current input state (like CurrentCursorWorldHit) through its inherited State property, and can be injected into your own scripts.
You can get some useful info from it. For example, this script sometimes casts a ray from the camera, using the mouse position on screen.
[Inject] InputSystem input;
<...>
Debug.Log(input.State.CurrentCursorWorldHit.point); // will print you the actual position of the world point under the cursor.