// Use this for initialization void Start() { flag = GameObject.FindGameObjectWithTag("Player").GetComponent <FlagMovement>(); color = ColorBlock.defaultColorBlock; colorSelect = A.GetComponent <Button>().colors; colorSelect.normalColor = Color.red; }
// Use this for initialization void Start() { flag = GameObject.FindGameObjectWithTag("Player").GetComponent <FlagMovement>(); }