Exemplo n.º 1
0
 //public GameObject placeHolderText;
 void Start()
 {
     invManager  = FindObjectOfType <InventoryManager>();
     pickUpText  = FindObjectOfType <TextOnPickUp>();
     player      = GameObject.FindGameObjectWithTag("Player");
     audioSource = player.GetComponent <AudioSource>();
 }
Exemplo n.º 2
0
 void Start()
 {
     infoText = FindObjectOfType <TextOnPickUp>();
     pManager = FindObjectOfType <PlayerManager>();
 }