well i was following a tutorial and i did every thing right but every time i type InputManager.Movement it tells me that InputManager can’t be reached due to it’s protection level
here is my code
PLAYER CONTROLER SCRIPT
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.LowLevel;
^ ^ ^ This is the problem. If you did, then it would work.
Go back and review the tutorial regarding the specific field in question, eg, the instance of the field that is causing you the error.
Two steps to tutorials and / or example code:
do them perfectly, to the letter (zero typos, including punctuation and capitalization)
stop and understand each step to understand what is going on.
If you go past anything that you don’t understand, then you’re just mimicking what you saw without actually learning, essentially wasting your own time. It’s only two steps. Don’t skip either step.
and also i spent like 2 hours checking my code and settings
i posted this to get an idea on a problem not to get told to go back to the tutorial that i spent 2h staring at
i told you it said error for protection level witch i couldn’t find anywhere
i tried making it pubic i tried writing the script over and over
but thanks that you took 2min of your life to put your hate on someone asking for help
look bro if some one did his home work but got a wrong answer
and came to you to help him find the problem and then you tell him that if he had studied he would he would have gotten the correct answer. and then tell them that they don’t know how to learn.
that’s what your reply felt like
if that wasn’t what you intended i am sorry for saying that
but i think you should learn how to talk to people a bit better