Search Unity

Event System Touch Module

Discussion in 'Scripting' started by RussellT, Apr 19, 2015.

  1. RussellT

    RussellT

    Joined:
    Feb 1, 2015
    Posts:
    18
    Hello All,
    Could anyone explain to me how I go about using the touch module on the event system? Ive read so much stuff got nowhere.....

    All I want to do is detect when I have 2 fingers on the touch device, and for this example just print a statement saying that! Basically calling all this stuff: http://docs.unity3d.com/ScriptReference/EventSystems.IPointerClickHandler.OnPointerClick.html

    When I try and refer to the EventSystem in code I never seem to be able to get any details about what its doing.

    Thanks....
    Rusty
     
    Last edited: Apr 19, 2015
  2. Smuggler20

    Smuggler20

    Joined:
    Apr 20, 2015
    Posts:
    19


    Watch this.
     
  3. RussellT

    RussellT

    Joined:
    Feb 1, 2015
    Posts:
    18
    Thanks for your reply, Is this still relevant now the EventSystem touch module is around?
     
  4. Smuggler20

    Smuggler20

    Joined:
    Apr 20, 2015
    Posts:
    19
    If I understad well your question(my english sometimes is not my best side), i think that EventSystem is good to relevent in programing. Sorry if i anwser some stupid :D.