Ability to load a property of an object in save data

Vote for new features, or make your own requests here.
Post Reply

Ability to load a property of an object in save data

Yes, I would like this feature
1
50%
No, I would not like this feature
1
50%
 
Total votes: 2

User avatar
Joel
Moodkie Staff
Posts: 4812
Joined: Wed Nov 07, 2012 10:32 pm

Ability to load a property of an object in save data

Post by Joel »

Status

Requested

Complexity

4/10

Description

This would allow people to provide a hierarchical key so that they can load properties within saved objects without having to load the entire object. For example:

Code: Select all

var string = ES3.Load<string>( "myKey>myProperty>mySubProperty" );
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
plague810
Posts: 1
Joined: Mon Nov 27, 2023 12:14 pm

Re: Ability to load a property of an object in save data

Post by plague810 »

I wish more people would see this post and vote to approve it. I'm currently working on a project where I think being able to assign a key to an Auto Save prefab instance would be a great way to easily load them into different scenes using ES3.Load. I have a lot of car prefabs that can be customized by the player (color, upgrades, etc.) and they are setup to use Auto Save. there will be duplicate instances of these cars with different customizations and I want to be able to load them from the Persistent Data Path save file and instantiate them into any scene. But now I might have to end up changing the prefab instances to save manually just to be able to set a key on it for later use.
Post Reply