Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Can I make the same scene restart a specific number of times? ('Input' times)!

Discussion in 'VR' started by Ash_BG, Jul 27, 2020.

  1. Ash_BG

    Ash_BG

    Joined:
    Feb 25, 2020
    Posts:
    2
    Hello guys,
    So, I'm a researcher who's building a virtual experience using Unity.
    The experiment consists of the following:
    -Trials that last for around 25 seconds.
    -I built scenes with the different specifications of each trial.
    For now, what's required is that the scientist (the admin let's say) will be able at first to identify how many times to repeat each trial.
    so, let's say, for example, scene01 should be repeated 5 times, then scene03, and so on.
    The maximum number of trials is 15.
    The order can be random as well for the 15 trials.
    So I figure out how to read data from a CSV file, in which the admin will be able to enter these numbers, but I got stuck and I don t think its a very good idea.
    After that, I decided to make a GUI inside Unity and it will be the first thing to show, where the admin will have input fields, and I believe this is a much better idea.
    Now I really have no clue how to store these numbers and use them as input to the number of times each scene must be repeated and with the specified order.
    I would be super thankful for any kind of help or guidance, please.
    Thank you!
     
unityunity