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

Tapping Lag

Discussion in 'Scripting' started by fuatseref, Jun 24, 2020.

  1. fuatseref

    fuatseref

    Joined:
    Jun 24, 2020
    Posts:
    4
    How can i avoid tapping lag? I have late response when i tapped in android device as time goes on.
     
    Last edited: Jun 24, 2020
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,520
    Steps:

    1. measure what's happening with the profiler
    2. perhaps instrument your code to reveal where your error is
    3. adjust your code accordingly
     
    MartinTilo likes this.
  3. fuatseref

    fuatseref

    Joined:
    Jun 24, 2020
    Posts:
    4
    Thank you, i m going to struggle recovering my script. i will post what the progress will be
     
  4. fuatseref

    fuatseref

    Joined:
    Jun 24, 2020
    Posts:
    4
    I changed my all scripts and mechanics for example: i dont use instantiate function for prefab anymore. and i ave up using scrolling objects. In conclusion i dont have tap problem anymore.
     
    Kurt-Dekker likes this.
  5. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,520
    AWESOME! Great to hear.
     
  6. fuatseref

    fuatseref

    Joined:
    Jun 24, 2020
    Posts:
    4
    Than you for your interest