GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Disabling Gesture MonoBehaviour causes gesture to become unresponsive#199
Copy link

Description

@nicetrysean
nicetrysean
opened on Jan 7, 2016
Issue body actions

As it says on the tin, it would seem when disabling any Gesture MonoBehaviour in TouchScript 7, it will become unresponsive indefinitely.

Activity

  1. oafkad commented on Jan 7, 2016

    @oafkad
    oafkad
    on Jan 7, 2016
    More actions

    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 :).

  2. nicetrysean commented on Jan 7, 2016

    @nicetrysean
    nicetrysean
    on Jan 7, 2016
    Author
    More actions

    Oh I must have missed it! Thank you for your patience :~)

  3. oafkad commented on Jan 7, 2016

    @oafkad
    oafkad
    on Jan 7, 2016
    More actions

    It's cool. I went through the same thing and was confused for a solid half hour or so.

  4. valyard
    added a commit that references this issue on Jan 9, 2016

    Gestures are properly reset when manually disabled (issue #199). When…

    b8c78fa
  5. valyard commented on Jan 9, 2016

    @valyard
    valyard
    on Jan 9, 2016
    Contributor
    More actions

    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

  6. oafkad commented on Jan 9, 2016

    @oafkad
    oafkad
    on Jan 9, 2016
    More actions

    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.

  7. oafkad commented on Jan 9, 2016

    @oafkad
    oafkad
    on Jan 9, 2016
    More actions

    @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.

  8. valyard
    closed this as completedon Jan 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.