Hello, I am still pretty new to all this coding stuff. I had followed a tutorial on YouTube on how to put a joy-con on the screen because I wanted controls for the phone since that is what the game is for. However after about line 26 I started to get this error and I cant figure out what the issue is. Please help, thanks! (Error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement. Also in photo one that is where the error is happening but in picture 2 in replies I changed line 9 to public instead of protected.)
↧