Loading game from Main Menu
Posted: Sun Apr 03, 2016 12:51 pm
Hi,
I'm just having difficulty with saving and loading the game. Basically, my problem is, I can only successfully load my game whenever I'm in a scene that has my player character with it. In the first level of my game after the Main menu scene, I have my Dialogue System Controller, with the Level Manager and Game Saver components. I also have a Persistent Data Template component on another gameobject which handles all of the persistent data. I am able to save and load between different scenes just fine, and keep stuff persistent like Weapons, which I got help from you before with.
I can't seem to load stuff successfully from the Main menu. I added a Dialogue System controller object into the main menu and added the Level Manager and Game Saver components to it. When I load from the Main menu, it will bring me to the scene where I last saved, which is what I want, but my Camera and Player character and everything I need is missing.
I'm just having difficulty with saving and loading the game. Basically, my problem is, I can only successfully load my game whenever I'm in a scene that has my player character with it. In the first level of my game after the Main menu scene, I have my Dialogue System Controller, with the Level Manager and Game Saver components. I also have a Persistent Data Template component on another gameobject which handles all of the persistent data. I am able to save and load between different scenes just fine, and keep stuff persistent like Weapons, which I got help from you before with.
I can't seem to load stuff successfully from the Main menu. I added a Dialogue System controller object into the main menu and added the Level Manager and Game Saver components to it. When I load from the Main menu, it will bring me to the scene where I last saved, which is what I want, but my Camera and Player character and everything I need is missing.