Ejemplo n.º 1
0
    //본인의 블럭 정보를 불러옴.
    public void Click()
    {
        GetComponent <Image>().color = Color.cyan;
        GetComponent <Button>().Select();

        g_Nord.SaveToggle(index);
        g_Nord.LoadToToggle(index);
        if (!m_source.GetAudioSource().isPlaying) //음악의 위치를 설정함.
        {
            m_source.GetAudioSource().time = musicTime;
            m_source.SetPlayNord(musicTime);
            m_source.SetPlayIndex(index);
        }
    }