public void StopMusic() { IsPlaying = false; Dim1.SetActive(false); Dim2.SetActive(false); Dim3.SetActive(false); MusicSource.Stop(); //beforeY = -1; }
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); }
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); }