Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hello sir i have a doubt #1

Open
rg-kural opened this issue Feb 3, 2023 · 0 comments
Open

hello sir i have a doubt #1

rg-kural opened this issue Feb 3, 2023 · 0 comments

Comments

@rg-kural
Copy link

rg-kural commented Feb 3, 2023

sir i am using version 1.4.4 input system and did everything u said for the readingvalues of the motion sensors, but i am gettin an error in the update method saying that no referance for the instance of the object . in the lines where i am using the code

InputSystem.EnableDevice(Gyroscope.current);
InputSystem.EnableDevice(Accelerometer.current);
InputSystem.EnableDevice(AttitudeSensor.current);
InputSystem.EnableDevice(GravitySensor.current);

i think the new input system is not working proper and my editor version is 2020.3.44f,i even tried changing the active input handling in the player setting to both and even later to new input system but still got the error . I got mad and didn't see there was a git project in the end of ur blog .today(3/3/23) only i checked it and i am uploading this before using this git project. I will update if ur git project clone solves the problem or not.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant