Hello
I am designing a cognitive study in Unity. So my goal is to show the user trials of 10 seconds and then ask the user some questions and then repeat that trial again. I don’t want to change scenes during this process and I want everything to happen in a single scene (because I will lose my connection with the eyetracker).
My scene is a 3D street scene, but questions need to appear on a blank background. Is it possible to change my camera view after every 10 seconds??
Any other suggestions for how I can develop this please?
There’s a bunch of ways you could approach this. You could display a blank UI texture covering the entire scene where you display your question on top of, then disable when you want to view the scene.
You could have two cameras, one for the scene and one for your question, and each camera displays only certain layers. Everything with “question” layer doesn’t display on the scene camera (you just uncheck “question” layer), and your question camera only displays “question” layer objects. Then you just enable/disable cameras as needed. You could also do the same setup but with just a single camera and manipulate what layers the camera shows at any given time.
If you want to get real crazy you could create a question room in your scene, and whenever you want to ask a question you make the camera jump to a position in the question room. Seems silly but I’m sure it would work fine.
If I were doing this I’d probably go with the 2 camera method.