"InputManager" is inaccessible due to its protection level
Hi all I'm currently trying to work put raycasts by following a tutorial however there is an error in my code, it says "InputManager is inaccessible due to protection level" however even though I have made what I think is the issue public, the problem persists. I've attached the code I think is causing the problem(s) here. Any help would be greatly appreciated. Thanks!
EDIT: I was asked to make "inputmanager" public, however i cannot find the line i need to change and i am confused as to what to do? hope someone can help me
EDIT: I was asked to make "inputmanager" public, however i cannot find the line i need to change and i am confused as to what to do? hope someone can help me






