SettingValue.Save C# (CSharp) Method

Save() public method

public Save ( ) : void
return void
    public void Save()
    {
        BinaryFormatter bf = new BinaryFormatter();
        FileStream file = File.Open(Application.persistentDataPath + "/SettingInfo.dat", FileMode.Open);

        SettingData data = new SettingData();
        data.movementType = movementType;
        data.volume = volume;

        bf.Serialize(file, data);
        file.Close();

    }
    public void Load()