tag:blogger.com,1999:blog-1039722692016977502.post1944028838714161931..comments2023-05-14T08:34:09.749-07:00Comments on SongGameDev: Input.TouchesSonghttp://www.blogger.com/profile/07429886167055190697noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-1039722692016977502.post-6153935196929763082014-03-25T05:11:32.538-07:002014-03-25T05:11:32.538-07:00Song,
For some reason I'm locked out of Unity ...Song,<br />For some reason I'm locked out of Unity forums (they are working on the issue). In the meantime, I'm still trying to fix a big touch screen problem. Simply put if you load the RTS demo scene and tap the screen at various locations, sometimes the camera orbit spins crazy fast and settles. I only need orbit on drag not tap. This is messing up my demo where I have a menu with many buttons (clickable quads) and at times, selecting a menu button makes my demo spin crazy. can you email me at ken.geary@honeywell.com? thank you, Ken (I know, the user name is John Smith, I use that for dev work)Anonymoushttps://www.blogger.com/profile/13025171330925401550noreply@blogger.comtag:blogger.com,1999:blog-1039722692016977502.post-76640523725757263712012-09-22T03:41:00.984-07:002012-09-22T03:41:00.984-07:00Hi Valan,
I got similar post on the Unity suppor...Hi Valan, <br /><br />I got similar post on the Unity support thread. Wondering if it was you. At any rate I'll tell you the same thing I wrote there.<br /><br />I will need more information to know exactly what went wrong. Where is the js file that causes error being placed, under which folder? Fyi, It cannot be placed in any folder under the hierarchy of folder named "Plugins" or "Editor". To be safe, please try placed it along the js example. Finally please do not move the InputTouches files in folder named "Plugins" or indeed the folder itself. <br /><br />Hope this helpsSonghttps://www.blogger.com/profile/07429886167055190697noreply@blogger.comtag:blogger.com,1999:blog-1039722692016977502.post-81932218125645547902012-09-22T00:18:28.144-07:002012-09-22T00:18:28.144-07:00hi
i recently purchased this plugin.
and i am get...hi<br /><br />i recently purchased this plugin.<br />and i am getting an error BCE0005: Unknown identifier: 'Gesture' while i use it in a javascript.Anonymoushttps://www.blogger.com/profile/06244822700864696946noreply@blogger.comtag:blogger.com,1999:blog-1039722692016977502.post-63956480935833345372012-06-21T15:53:29.350-07:002012-06-21T15:53:29.350-07:00Thanks for your custom! :)
Unfortunately current...Thanks for your custom! :)<br /><br />Unfortunately current version doesn't support multiple concurrent event just yet. But I've been working on an update which will allow that. Won't be long before that update is released now. I aim to get it done by this weekend, the latest by next. Make sure you stay tuned to this blog or the official support thread on Unity forum.Songhttps://www.blogger.com/profile/07429886167055190697noreply@blogger.comtag:blogger.com,1999:blog-1039722692016977502.post-6564195917387823272012-06-21T15:47:24.704-07:002012-06-21T15:47:24.704-07:00Hi I bought input touches. It is awesome.
Is ther...Hi I bought input touches. It is awesome.<br /><br />Is there a way to drag multiple items with the tap demo on ios?chrishttps://www.blogger.com/profile/17587792356827887350noreply@blogger.comtag:blogger.com,1999:blog-1039722692016977502.post-3136921790205657032012-05-27T05:37:44.509-07:002012-05-27T05:37:44.509-07:00Thanks Chris. Really useful tips there.
I've...Thanks Chris. Really useful tips there. <br /><br />I've explained the platform dependant compilation code section (your first point) in unity forum Thread. Check it out here. In short, you can only have either one of mouse(your fix) or touch(default) input working when the target platform is switched to iOS or Android.<br /><br />I'll consider you suggestion and try to see if I can do something in the next update.<br /><br />Thanks again!Songhttps://www.blogger.com/profile/07429886167055190697noreply@blogger.comtag:blogger.com,1999:blog-1039722692016977502.post-88413335636431630412012-05-26T20:32:31.194-07:002012-05-26T20:32:31.194-07:00Hi Song,
I just purchased and got it up and runni...Hi Song,<br /><br />I just purchased and got it up and running in short matter, glad I can reuse your code instead of having to write it myself. I just have a few suggestions:<br />1) In TapDetector.cs, on lines 46, I had to add " && (!UNITY_EDITOR)" and I had to uncomment the "|| UNITY_EDITOR" on line 115. I suspect the same issue in the other modules, but I don't need them for now. The reason is that I need to test in the editor but am running an Android build setting so UNITY_ANDROID is true.<br /><br />2) I would recommend combining some code in this module (maybe others?). There are several repeated lines. You could say "bool down; #if ANDROID, down = whatever #elif !ANDROID down = GetMouseDown(0). Then the code below it would be common and just use the local down variable.<br /><br />3) I wasn't quite sure right away how to get this working, but I opened the sample and saw a global game object with several scripts attached and saw setting the event in the demo script, so I followed this and got it working (after I fixed the UNITY_EDITOR above). I would just recommend posting somewhere a quick "how to" for getting started. Maybe a nice addition would be a button in the menu system that says "Create input manager object" or something like that to create the global object with the Gesture, General, etc scripts attached.<br /><br />Thanks, still looks to be one of the better solutions from the store that I can see.<br />ChrisALLIhttps://www.blogger.com/profile/13073561940157069237noreply@blogger.com