About 53,400 results
Open links in new tab
  1. c# - Making a timer in Unity - Stack Overflow

    Nov 4, 2018 · I have a problem in Unity. I need a countdown in my project. But this countdown will count 2 times. For example, 3 seconds a job will be done, 2 seconds another job will be done …

  2. How can I make an action repeat every x seconds with Timer in C#?

    If you are using Unity then simplest way to code actions related to time are coroutines. You can simply call StartCoroutine and then use yield return new WaitForSecondsRealtime(5f). Using …

  3. How to make timer using coroutine in Unity C# - Stack Overflow

    Apr 27, 2023 · I'm trying to make 2 minute timer for my game using coroutine. Its starts to backcount from biginning of the game. Everything working nice until reaching 1 minute. After …

  4. How to make the script wait/sleep in a simple way in unity

    How to make the script wait/sleep in a simple way in unity Asked 10 years, 7 months ago Modified 1 year ago Viewed 480k times

  5. c# - Right way to manage time event in unity - Stack Overflow

    Jan 22, 2019 · Multiplying Time.deltaTime by (1 / Time.timeScale) as suggested will effectively undo the scaling Unity automatically applies, making it equivalent to Time.unscaledDeltaTime. …

  6. Creating a countdown Timer in Unity - Game Development Stack …

    May 17, 2015 · I want to create a countdown timer in a Unity game I am creating. Up until now my game was running for a specific time but I was using InvokeRepeating to end the game after …

  7. Set time or trigger action after time in unity C# - Stack Overflow

    Aug 4, 2020 · I would like to ask how to trigger an action or function after some time. In my case, I have a function class timer which shows in below as FuntiontTimer.cs using System; using …

  8. Creating a simple countdown timer in unity - Game Development …

    Dec 31, 2020 · By using deltaTime, the timer should be independant of the amount of FPS. deltaTime is the time between the current and last frame, meaning on 60fps the time is smaller …

  9. create a speedrun timer in Unity / C# - Stack Overflow

    Mar 7, 2018 · I want to create a timer that counts up. This timer has to be very precisely because it represents the current level timer for speedrunners. I tested some ways.. using …

  10. How do I make timer change a sprite every second without using …

    May 19, 2022 · How to make Stop Timer? Here I created a standalone timer field and you can stop the step timer by pressing the Space key. You can also reset the timer with the R key, for …