void Start() { Button rBtn = resetButton.GetComponent <Button>(); rBtn.onClick.AddListener(OnClick); grandParent = this.transform; ArrowColorTrackScript = GameObject.Find("TilePanel").GetComponent <ArrowColorTrack>(); }
void Start() { ArrowColorTrackScript = GameObject.Find("TilePanel").GetComponent <ArrowColorTrack>(); }