Page 1 of 1

Simplest way to save a string and transform together

Posted: Fri Apr 20, 2018 10:03 pm
by BBgames
Hi there,

Just got ES2 for my project (awesome so far). I've dug through the docs but can't figure out what is the absolute simplest way to save out a string and a transform tied together? I have a custom class that has this information which I intended to put in a List<> which I would then save, but according to the docs you can only save List<> which contain supported types.

Thanks

BB

Re: Simplest way to save a string and transform together

Posted: Sat Apr 21, 2018 11:15 am
by Joel
Hi there,

The easiest way to do this would simply to save two arrays/Lists: one containing the Transforms, and another array of equal length containing the strings.

All the best,
Joel