예제 #1
0
        public void StopMusic()
        {
            IsPlaying = false;
            Dim1.SetActive(false);
            Dim2.SetActive(false);
            Dim3.SetActive(false);
            MusicSource.Stop();

            //beforeY = -1;
        }
예제 #2
0
 public void PlayMusic()
 {
     if (Table.BlockCount() > 0 && CurrentBlockTime <= 0)
     {
         CurrentBlockTime = Table.GetBlock(CurrentBlockIndex).BlockTime;
     }
     IsPlaying = true;
     Dim1.SetActive(true);
     Dim2.SetActive(true);
     Dim3.SetActive(true);
 }
예제 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Dim0 != 0)
            {
                hash ^= Dim0.GetHashCode();
            }
            if (Dim1 != 0)
            {
                hash ^= Dim1.GetHashCode();
            }
            if (Dim2 != 0)
            {
                hash ^= Dim2.GetHashCode();
            }
            hash ^= featureValue_.GetHashCode();
            if (Label != 0)
            {
                hash ^= Label.GetHashCode();
            }
            return(hash);
        }