Thanks for the answer guys, this is driving me crazy, and it's a pretty basic part of unity, is the only way to get the movement of the mouse!ĮDIT: By the way, in the build i've posted here i put two labels, one is checking if the mouse button is pressed, and the other is the value of Input.GetAxis, toString don't have to cut it out since the only thing it does is to pass teh float value to a string value, and i used it a lot of times before with other values, you can check it with Input.GetAxis("Horizontal") and using the cursors, and you'll see the float values. I'm using Unity 3.5.1f2 in both, windows and mac and i'm under windows 7. ToString and the value is 0, i noticed that because i use that in my project, i use it to control the orientation of a camera, and under mac it works perfectly, but if i do the a windows build from the mac, or i use it under windows editor (or i do a windows build form windows) It's not working at all. I tried to check if everything was fine in the input manager, and everything was just fine. Here you have a build of the test project for windows standalone:Īnd here you have a unitypackage with the contents of that project: It doesn't cut the value, i tried the same under mac and it works.ĭo you work under windows Zethariel? what version? I'm trying to figure if it's related to my windows version :S
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |