public static void SaveCurrentSpline() { List <GameObject> singleSpline = new List <GameObject>(); singleSpline.Add(workingSpline); SplineFileManager fileMgr = SplineFileManager.CreateInstance <SplineFileManager>(); fileMgr.Save(singleSpline); }
public static void SaveAllSplines() { SplineFileManager fileMgr = SplineFileManager.CreateInstance <SplineFileManager>(); fileMgr.Save(splines); }