private void UpdateCursorPosition() { cursorDeltaX += InputConfig.GetCursorMovement().x *AimingDirection() * agent.sensibility * Time.deltaTime; cursorDeltaX = Mathf.Clamp(cursorDeltaX, -agent.shootRadius, agent.shootRadius - Mathf.Epsilon); cursorDeltaY += InputConfig.GetCursorMovement().y *AimingDirection() * agent.sensibility * Time.deltaTime; cursorDeltaY = Mathf.Clamp(cursorDeltaY, -agent.shootRadius, agent.shootRadius); }