コード例 #1
0
    private void PlaySong(bool status)
    {
        if (m_currentPlaySongPath == string.Empty)
        {
            m_musicPlay.isOn = false;
            return;
        }

        m_audioSlider.maxValue = m_audio.TotalTime;
        m_audioInfo.text       = m_audio.Name;
        m_audio.Play(status);
    }