コード例 #1
0
 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());
 }
コード例 #2
0
 public void Save(IStorageSaver saver)
 {
     saver.SaveRef("RefA", _referenceBoyA);
     saver.SaveRef("RefB", _referenceBoyB);
 }