Note: I posted in the wrong forum at first, and so this is me trying this again but on the right forum.
I am making a co-op game where one of the players needs to interact with computer screens. I have a computer monitor with a World Space Canvas on top of the screen, and I have a sprite on top of that that casts a ray towards the computer screen. That sprite acts as the computer’s mouse.
I need a new input module so that the ray can interact with the buttons on the UI, but I am fairly new to Unity and have no idea where to even start. All the tutorials I have looked up include half-baked explanations by YouTubers with extremely thick accents and none of them really explain what they are doing and how I could implement this into my own game. I have been trying to solve this singular problem for months now and I am just about to give up and do something else. ANY help will be extremely appreciated.