void Awake() { ques = FindObjectOfType <Piano_Question>(); thisText = gameObject.GetComponentInChildren <Text>(); anim = gameObject.GetComponent <Animator>(); score = GameObject.Find("Score").GetComponent <Piano_Score>(); }
void Awake() { ques = FindObjectOfType <Piano_Question>(); resetright = GameObject.Find("RightButton").GetComponent <Piano_Button>(); resetleft = GameObject.Find("LeftButton").GetComponent <Piano_Button>(); }