public void Save(IStorageSaver saver) { saver.SaveValue("name", BoyName); saver.SaveValue("count", _count); saver.SaveStruct("vec", _vecCool); saver.SaveRef("ref", _referenceBoy, true); saver.SaveStructs("vecs", _vecs.ToArray()); }
public void Save(IStorageSaver saver) { saver.SaveRef("RefA", _referenceBoyA); saver.SaveRef("RefB", _referenceBoyB); }