How do I return from cutscene to gameplay?
Hi! So I am currently working on a school assignment while being very new to scripting in unity!
So basically I am working on implementing music for a very stripped down game. So while writing the music I got the idea of writing a pice of intro-music that will be played during a cutscene. The problem here is that the game doesn't have any cutscenes implemented! So I made some research about how to make a simple cutscene using animation on a camera and I just got it working! However there is one issue.
I can't figure out how to return from the cutscene back to gameplay/the main camera after the cutscene is played.
I attached my script in a picture if you guys want to take a look at it!
It's very simple. The script has to public gameobjects attached one being the main camera and the other one a cutscene camera. When player collides with the trigger that I put the script on the Main camera is being disabled and cutscene camera is being enabled. Further than that I haven't solved!
Thankful for answers! Anton R