I'm trying to make a script that "touches" the screen in order to trigger the eventsystem (trying to optimise that first lag spike). How can I make a script that does that?
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
114 People are following this question.
On touch in a rectangle
touch of the screen interacts along with buttons on the screen
Opposite moving object?
Unity UI create and drag with one click
Help with touch button (can't call a function)