You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disabling Gesture MonoBehaviour causes gesture to become unresponsive #199
Activity
oafkad commentedon 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 commentedon Jan 7, 2016
Oh I must have missed it! Thank you for your patience :~)
oafkad commentedon Jan 7, 2016
It's cool. I went through the same thing and was confused for a solid half hour or so.
Gestures are properly reset when manually disabled (issue #199). When…
valyard commentedon 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 commentedon 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 commentedon 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.