// Start is called before the first frame update void Start() { doorAnimator = GetComponentInChildren <Animator>(); enterDoorText.gameObject.SetActive(false); playerTransform = GameObject.Find("Jack").transform; Control = GameObject.Find("Control").GetComponent <ButtonsSwitch>(); }
// Start is called before the first frame update public void Start() { pickUpText.gameObject.SetActive(false); Control = GameObject.Find("Control").GetComponent <ButtonsSwitch>(); }