private void Awake() { m_noteSpawner = GameObject.FindObjectOfType <NoteSpawnerController>(); m_audioSource = GetComponent <AudioSource>(); m_guitarHeroGameController = GameObject.FindObjectOfType <GuitarHeroGameController>(); }
protected virtual void Awake() { m_spriteRenderer = GetComponent <SpriteRenderer>(); m_gameController = GameObject.FindObjectOfType <GuitarHeroGameController>(); }