Search found 7 matches

by Maple-Senpai
Sun May 08, 2022 10:24 am
Forum: General Discussion
Topic: Disable Saving on Prefab instance?
Replies: 6
Views: 1123

Re: Disable Saving on Prefab instance?

Joel wrote: Sun May 08, 2022 9:49 am Hi there,

The GameObject is being saved because it's in the array that you're telling Easy Save to save. If you don't want to save that GameObject you should remove it from the array you're saving.

All the best,
Joel
Thank you! You are a life saver. I did not notice that xD
by Maple-Senpai
Sun May 08, 2022 3:30 am
Forum: General Discussion
Topic: Disable Saving on Prefab instance?
Replies: 6
Views: 1123

Re: Disable Saving on Prefab instance?

Sorry, I was unclear with my question :) Are you using code, or Auto Save, or Visual Scripting (PlayMaker, Bolt, Unity VS)? If you're using code, please could you post the code you're using to save and load? All the best, Joel Hi, I'm using code. SavingManager.cs private void SavePotioneers() { Gam...
by Maple-Senpai
Sat May 07, 2022 12:02 pm
Forum: General Discussion
Topic: Disable Saving on Prefab instance?
Replies: 6
Views: 1123

Re: Disable Saving on Prefab instance?

Joel wrote: Sat May 07, 2022 11:54 am Hi there,

How are you saving and loading your data?

All the best,
Joel
I save on OnApplicationExit and I load on scene start.
by Maple-Senpai
Sat May 07, 2022 11:37 am
Forum: General Discussion
Topic: Disable Saving on Prefab instance?
Replies: 6
Views: 1123

Disable Saving on Prefab instance?

Hi,

So I have ES3 enabled on a prefab it saves fine. But I instantiate two of these prefab. One will be the original and the other will be the copy. I want to disable saving on the copy and only save the original. I tried removing ES3Prefab component on the copy but it still gets saved.
by Maple-Senpai
Wed Mar 23, 2022 7:05 am
Forum: General Discussion
Topic: Saving Class with inheritance null
Replies: 5
Views: 1008

Re: Saving Class with inheritance null

Hi there, Let's say I have CustomClass1 and CustomClass2. CustomClass1 is referenced in CustomClass2. Do I need to load CustomClass1 first before CustomClass2? That is correct. More over I have a scenario in my game where these two classes references each other. No matter which I load first the oth...
by Maple-Senpai
Tue Mar 22, 2022 1:10 pm
Forum: General Discussion
Topic: Saving Class with inheritance null
Replies: 5
Views: 1008

Re: Saving Class with inheritance null

I think I have solved the issue now by reimporting the Easy Save asset. Something probably got messed up back then. Thanks for replying. Also while we are at it. I have a question. Let's say I have CustomClass1 and CustomClass2. CustomClass1 is referenced in CustomClass2. Do I need to load CustomCla...
by Maple-Senpai
Tue Mar 22, 2022 9:24 am
Forum: General Discussion
Topic: Saving Class with inheritance null
Replies: 5
Views: 1008

Saving Class with inheritance null

Hi, I'm having some issues with saving. The class using System.Collections; using System.Collections.Generic; using UnityEngine; public class ChairManager : MonoBehaviour { private List<ChairClass> _chairPositions = new List<ChairClass> { }; public List<ChairClass> chairPositions { get { return _cha...