public void Read(BinaryReader reader)
        {
            Audio = new AudioState();

            if (reader.ReadBoolean())
            {
                ChunkEAudioTrackState track = new ChunkEAudioTrackState();
                track.Read(reader);
                Audio.Music = track.Track;
            }

            if (reader.ReadBoolean())
            {
                ChunkEAudioTrackState track = new ChunkEAudioTrackState();
                track.Read(reader);
                Audio.Ambience = track.Track;
            }
        }
        public void Write(BinaryWriter writer)
        {
            if (Audio.Music != null)
            {
                writer.Write(true);
                ChunkEAudioTrackState track = new ChunkEAudioTrackState(Audio.Music);
                track.Write(writer);
            }
            else
            {
                writer.Write(false);
            }

            if (Audio.Ambience != null)
            {
                writer.Write(true);
                ChunkEAudioTrackState track = new ChunkEAudioTrackState(Audio.Ambience);
                track.Write(writer);
            }
            else
            {
                writer.Write(false);
            }
        }