Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

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.