// Use this for initialization public override void Start() { base.Start(); musicManager = MusicManager.instance; melodyTracker = musicManager.melodyTracker; melodyTracker.Add(this); }
public MelodyModule() { musicManager = MusicManager.instance; melodyTracker = musicManager.melodyTracker; gameManager = GameManager.instance; melodyTracker.Add(this); ChangeNote(melodyTracker.NextNote); }
void Start() { melodyTracker = MusicManager.instance.melodyTracker; melodyTracker.Add(this); }
protected override void Start() { base.Start(); melodyTracker = MusicManager.instance.melodyTracker; melodyTracker.Add(this); }