Search found 4 matches

by TrashRat
Thu Feb 22, 2024 9:12 am
Forum: General Discussion
Topic: Unable to save and load inventory accross scenes
Replies: 6
Views: 2570

Re: Unable to save and load inventory accross scenes

Hi Joel,

Thanks for the reply. I think that was my attempt at saving the Inventory before the level loads, and then loading it back into the new scene which no doubt shows a complete lack of understanding on my part!
by TrashRat
Wed Feb 21, 2024 5:40 pm
Forum: General Discussion
Topic: Unable to save and load inventory accross scenes
Replies: 6
Views: 2570

Re: Unable to save and load inventory accross scenes

Hi Joel, this may (will no doubt) all just stem from a lack of my own understanding. There are no errors in the console, and here is how I am saving and loading into a new scene (player presses 'E' at door, transition begins) public class SceneLoader : MonoBehaviour { private bool CanLoadScene = fal...
by TrashRat
Wed Feb 21, 2024 4:19 pm
Forum: General Discussion
Topic: Unable to save and load inventory accross scenes
Replies: 6
Views: 2570

Re: Unable to save and load inventory accross scenes

Oh and please ignore "ISavable" that was from a seperate attempt.
by TrashRat
Wed Feb 21, 2024 3:45 pm
Forum: General Discussion
Topic: Unable to save and load inventory accross scenes
Replies: 6
Views: 2570

Unable to save and load inventory accross scenes

Hey, so i'll try and keep this as swift as possible. I have implimented an inventory system in my game that allows me to pick up spawned objects, through scriptable objects, and I can click and drag them, equip them, drop them back into the world etc. The major headache comes with saving and loading...