Simplest way to save a string and transform together

Easy Save 2 has been replaced by Easy Save 3, so is no longer supported.
Locked
BBgames
Posts: 1
Joined: Fri Apr 20, 2018 10:00 pm

Simplest way to save a string and transform together

Post 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
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: Simplest way to save a string and transform together

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Locked