31-05-2022, 11:12 AM
(This post was last modified: 31-05-2022, 11:17 AM by josemendez.)
(31-05-2022, 11:03 AM)martymayfly Wrote: Have you tested before Obi Rope swipe cut on mobile real devices? I'm working on mobile gaming and chose the Obi Rope to use on mobile. So, I will appreciate if you try on real devices and help me.
Thanks.
Hi,
Just tested the script on iOS (iPhone 7) and it works just fine.
Have you checked the console in XCode for null ref errors or other issues that would be preventing the script from running at all?
(31-05-2022, 11:03 AM)martymayfly Wrote: By the way, Input.GetMouseButtonDown(0) can also be used for touch screens.
Only if Input.simulateMouseWithTouches is enabled, and even then it only works for 1 touch (the first one). This is mentioned in the script's comments:
Code:
/**
* Very simple mouse-based input. Not ideal for multitouch screens as it only supports one finger, though.
*/
private void ProcessInput()
{