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

Timers independant of the game i.e set timers

Discussion in 'Scripting' started by Spacemarine658, Mar 23, 2015.

  1. Spacemarine658

    Spacemarine658

    Joined:
    Dec 9, 2012
    Posts:
    14
    Timers independant of the game i.e set timers, I've been looking everywhere for a tutorial on how to use timers like candy crush where it takes the time from the moment you lose the heart untill 30 minutes then you get it back even if you close the game or something but I can't find any clear ones help?
     
  2. BenZed

    BenZed

    Joined:
    May 29, 2014
    Posts:
    524
    Check out System.DateTime
     
  3. Spacemarine658

    Spacemarine658

    Joined:
    Dec 9, 2012
    Posts:
    14
    thanks I will