Search found 3 matches

by Ezo
Sat Feb 17, 2018 8:25 pm
Forum: General Discussion
Topic: ES3: Question saving a list of object active states
Replies: 16
Views: 12932

Re: ES3: Question saving a list of object active states

Thank you! With a few changes it works exactly how I need!
by Ezo
Wed Feb 14, 2018 4:42 pm
Forum: General Discussion
Topic: ES3: Question saving a list of object active states
Replies: 16
Views: 12932

Re: ES3: Question saving a list of object active states

Thanks for the reply! When you save, this could create an bool array which is of the same length as the GameObject array, which stores whether each GameObject is disabled. You can then set each index based on whether the GameObject is enabled, and save this array using ES2.Save. Then you could also ...
by Ezo
Tue Feb 13, 2018 4:39 pm
Forum: General Discussion
Topic: ES3: Question saving a list of object active states
Replies: 16
Views: 12932

ES3: Question saving a list of object active states

Howdy, Been using EasySave for my project I've been working on . One hurdle I've come across is being able to save a list of gameobject Active States once the item is innactive on the hierarchy. I used the below snippet of code in ES2 for testing. public void OnDestroy() { // Save the enabled state ...