Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Feedback Display Image on Timer?

Discussion in 'Works In Progress - Archive' started by Duck9783, Mar 1, 2021.

  1. Duck9783


    Jan 22, 2021
    Hello! I am new to unity and am still learning C#. I am trying to display a random image from about 18 images every 30-45 seconds. I have a timer set up that counts in minutes and seconds displayed on screen as well as a small array of three of my images for testing. I want a random picture to show up, stay for about 10 seconds, then disappear, with a new image showing up about 30 seconds later and repeating this process until all 18 images have been shown. This is my code so far, but right now once seconds passes 10 it changes a lot, and doesn't stay. Any ideas on how to fix this would be great, thanks!

    Attached Files:

    Last edited: Mar 1, 2021