public static void saveLogo(LogoSystem logoSystem) { BinaryFormatter formatter = new BinaryFormatter(); string path = Application.persistentDataPath + "/logo.save"; FileStream stream = new FileStream(path, FileMode.Create); SaveLogo data = new SaveLogo(logoSystem); formatter.Serialize(stream, data); stream.Close(); }
public SaveLogo(LogoSystem logoSystem) { logo1 = logoSystem.logo1; logo2 = logoSystem.logo2; }