コード例 #1
0
        public void Set(FileExplorer fe, string file)
        {
            _fe           = fe;
            _selectedFile = file;
            Song     s    = Song.loadSong(File.ReadAllBytes(file + "/Song.SongData"));
            SongInfo song = s.info;

            title.text   = "Title: " + song.title;
            artist.text  = "Artist: " + song.artist;
            tracks.text  = "Tracks: " + s.trackCount;
            creator.text = "Creator: " + song.creator;
        }
コード例 #2
0
 public void Set(FileExplorer fe, string file)
 {
     _fe            = fe;
     _selectedFile  = file;
     titleText.text = Path.GetFileName(file);
 }