Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How?

Discussion in '2D' started by astarabistan, Dec 31, 2013.

  1. astarabistan

    astarabistan

    Joined:
    Jul 6, 2013
    Posts:
    6
    Hi guys.I am devoloping a game for ios and android in 2D platform and i want to make character's gun target whereever i touch at the screen and shoot at the same time.I want to make the gun follow my finger in the same direction by holding my finger on the screen.How can i program that?
     
  2. Tiggster

    Tiggster

    Joined:
    May 22, 2013
    Posts:
    29
  3. Thomas-Pasieka

    Thomas-Pasieka

    Joined:
    Sep 19, 2005
    Posts:
    2,174
    You should actually start with proper thread title like "How do I do ......" instead of just "How?". Keep that in mind in the future.