public void UpdateBPM() { BPM = Table.BPM; Beats = Table.BeatVal; BPMText.text = BPM.ToString(); BeatsText.text = Beats.ToString(); BlockTime = (60f * Beats) / BPM; }
private void Start() { IndexText.text = Index.ToString(); BPMText.text = BPM.ToString(); BeatsText.text = Beats.ToString(); BlockTime = (60f * Beats) / BPM; UpdateDivLine(); }