Exemple #1
0
 public BeatModule(float beatInterval, float partialThreshold, float perfectThreshold, int skipBeats = 0)
 {
     this.beatInterval     = beatInterval;
     this.partialThreshold = partialThreshold;
     this.perfectThreshold = perfectThreshold;
     musicManager          = MusicManager.instance;
     musicManager.AddNewResponder(this, beatInterval);
 }
Exemple #2
0
 protected override void Start()
 {
     base.Start();
     musicManager = MusicManager.instance;
     musicManager.AddNewResponder(this, 1.0f);
 }
Exemple #3
0
 public override void Start()
 {
     base.Start();
     musicManager = MusicManager.instance;
     musicManager.AddNewResponder(this, beatInterval);
 }
Exemple #4
0
 void Start()
 {
     musicManager = MusicManager.instance;
     musicManager.AddNewResponder(this, 1.0f);
 }