public void initiate(AudioSource musicSource, YoumuSlashBeatMap beatMap, int warmupBeats) { this.musicSource = musicSource; this.beatMap = beatMap; lastProcessedBeat = -1 - warmupBeats; beatMap.initiate(); YoumuSlashTimingController.onBeat += updateBeatCount; }
public void resetFields(YoumuSlashBeatMap beatMap) { launchInstance = null; slashed = false; defaultTypeData = beatMap.DefaultTypeData; }
public void initiate(AudioSource musicSource, YoumuSlashBeatMap beatMap) { this.musicSource = musicSource; this.BeatMap = beatMap; beatMap.initiate(); }