public static void SaveBooleanVariables(SupplementForHeroBody supplementForHeroBody)
    {
        BinaryFormatter        bf     = new BinaryFormatter();
        FileStream             stream = new FileStream(Application.dataPath + "/data/SBV.sav", FileMode.Create);
        SavingBooleanVariables data   = new SavingBooleanVariables(supplementForHeroBody);

        bf.Serialize(stream, data);
        stream.Close();
    }
 public static bool[] LoadBooleanVariables()
 {
     if (File.Exists(Application.dataPath + "/data/SBV.sav"))
     {
         BinaryFormatter        bf     = new BinaryFormatter();
         FileStream             stream = new FileStream(Application.dataPath + "/data/SBV.sav", FileMode.Open);
         SavingBooleanVariables data   = bf.Deserialize(stream) as SavingBooleanVariables;
         stream.Close();
         return(data.BooleanVariables);
     }
     else
     {
         return(new bool[0]);
     }
 }