Пример #1
0
 // 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>();
 }
Пример #2
0
 // Start is called before the first frame update
 public void Start()
 {
     pickUpText.gameObject.SetActive(false);
     Control = GameObject.Find("Control").GetComponent <ButtonsSwitch>();
 }