Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Making a count increase per second when clicking a button

Discussion in '2D' started by AgentMisterious, Jul 14, 2019.

  1. AgentMisterious

    AgentMisterious

    Joined:
    Dec 22, 2017
    Posts:
    2
    I have a score counter, and a count, I want to increase the score by 5 per second every time I click the button, and I have no idea how, help pls.
    (Working in C#)
     
  2. Cornysam

    Cornysam

    Joined:
    Feb 8, 2018
    Posts:
    102


    Start with that and build from there