void Start()
    {
        Button rBtn = resetButton.GetComponent <Button>();

        rBtn.onClick.AddListener(OnClick);
        grandParent           = this.transform;
        ArrowColorTrackScript = GameObject.Find("TilePanel").GetComponent <ArrowColorTrack>();
    }
示例#2
0
 void Start()
 {
     ArrowColorTrackScript = GameObject.Find("TilePanel").GetComponent <ArrowColorTrack>();
 }