// Start is called before the first frame update void Start() { Item = GameObject.FindGameObjectWithTag("Player").GetComponent <getItem>(); }
// Start is called before the first frame update void Start() { Item = GameObject.FindGameObjectWithTag("Player").GetComponent <getItem>(); door = GameObject.FindGameObjectWithTag("Door").GetComponent <BoxCollider2D>(); }