|
Post by cursedereaper on Jun 26, 2019 18:54:27 GMT
Hey everyone,
is there an easy way to disable the Gamepad input for good? I made some custom scripts and I doubt all buttons will fit on a controller. And in some days I need to present the prototype of my project at my university together with some other students. When the others present their games with a controller I fear that my game will switch to the controller input as well. I had a similar case some months ago when I emulated a controler on my laptop which caused problems when I tested my project.
Long story short: Is it enought to disable the "void OnGUI" in the vInput script? Or are there other lines I could exclude to prevent my project from switching into a different input than mouse and keyboard?
I hope there is a quick solution.
Thanks in advance.
Solution: I simply replaced the line of code that sets the Input to the currently used input with a line that set the input to keyboard and mouse.
|
|