void Awake( ) { input = GetComponent <PlayerInput> ( ); input.Parent = this; anim = GetComponent <PlayerAnimation> ( ); anim.Parent = this; rhythmTimer = GameObject.Find("AudioSource").GetComponent <RhythmTimer> ( ); }
// Start is called before the first frame update void Start() { musicSheet = gameObject.GetComponent <Transform>(); rhythmTimer = GameObject.Find("AudioSource").GetComponent <RhythmTimer>(); }