// Start is called before the first frame update void Start() { bird = GameObject.FindWithTag("Bird").GetComponent <BirdIdleTest>(); startPosition.transform.position = transform.position; // set the default location canMove = false; move = false; }
// Use this for initialization void Start() { // color = blue.color; color = Color.gray; blue.color = color; bird = GameObject.FindWithTag("Bird").GetComponent <BirdIdleTest>(); }