GeezerVison is showing github.com — Disabling Gesture MonoBehaviour causes gesture to become unresponsive · Issue #199 · TouchScript/TouchScript
Disabling Gesture MonoBehaviour causes gesture to become unresponsive #199
Description
As it says on the tin, it would seem when disabling any Gesture MonoBehaviour in TouchScript 7, it will become unresponsive indefinitely.
Activity
oafkad commented on Jan 7, 2016
That's by design and was in the update notes.
to make things stop registering clicks:
Use: .INTERNAL_SetState(Gesture.GestureState.Failed);
to make things start registering them again.
.INTERNAL_SetState(Gesture.GestureState.Possible);
Hope that helps :).
nicetrysean commented on Jan 7, 2016
Oh I must have missed it! Thank you for your patience :~)
oafkad commented on Jan 7, 2016
It's cool. I went through the same thing and was confused for a solid half hour or so.
valyard commented on Jan 9, 2016
This is actually not intended and as far as I can see was added in this commit: 063818d
Can you guys try this fix: b8c78fa
oafkad commented on Jan 9, 2016
Ah my apologies then.
Changed: When disabling gestures can now change state only to Failed.
I had seen this and it coincided with the error. Since there was no mention of enabling setting the gesture back to possible in the notes.
oafkad commented on Jan 9, 2016
@valyard I tested your fix and it works :). I can disable components and enable them and have the state renew.
So yeah, now it works just like the older unity did.
Metadata
Metadata
Development
No branches or pull requestsIssue actions