How do I load a bool array?
I used this code
upgradeManager.upgradesBought = ES3.Load<bool[]>("UpgradesBought", false);
But the defaultValue (false) just says "cannot convert from bool to string".
How do I load a bool array
Re: How do I load a bool array
Hi there,
The default value needs to be of the same type as you're loading. The type you're loading is a bool array, but you've just provided a bool (false).
All the best,
Joel
The default value needs to be of the same type as you're loading. The type you're loading is a bool array, but you've just provided a bool (false).
All the best,
Joel