Doggo Detective - Week 11-12
I decided to then add a Quest system that would show you all of your objectives. I created it using two custom classes: ‘Quest’ and ‘Objective’. Quests would each have a list of objectives, and the Quest Manager would have a list of Quests.
My only problem is that it only displays quests. If it were to be used in an actually larger project, it would be almost unusable.
From there, I took a break to work on my solo projects. My final contributions in general were an ‘end-of-game’ screen and a (finally) fixed floor collider. I was requested to make the photograph taken in-game appear in the end-of-game screen. I initially tried using a RawImage using the RenderTextures saved in the gameplay scene, but it turned out RenderTextures are cleared when the scene changes. I then figured out I could save the texture as a static Texture2D singleton in a class I named ‘DoggoDetectiveSystems’, then use the end-of-game screen’s script to fetch the texture from that class.