- Home /
Question by
dinesh_unity · Jun 13, 2021 at 01:30 AM ·
camerauibuttonsdelay
Slight delay on long press before Camera actually moves
Hi all, we have 2 sets of buttons in the app. Pressing one set will make camera move forward/backward and the other set makes the camera move up/down. We are using LeanTouch (http://carloswilkes.com/Documentation/LeanTouch) to manage touches.
The problem is when the forward/backward button is pressed, there is a noticeable delay before the camera moves forward/back. This issue however does not happen when pressing up/down button. I am wondering if its the way the offset is calculated. Here is the code below:
screenshot-2021-06-12-at-82934-pm.png
(83.0 kB)
Comment
Your answer