Esempio n. 1
0
 void Start()
 {
     player     = GameObject.FindGameObjectWithTag("Player");
     pInventory = player.GetComponent <_13PlayerInventory>();
 }
Esempio n. 2
0
 void Start()
 {
     player       = GameObject.FindGameObjectWithTag("Player");
     pInventory   = player.GetComponent <_13PlayerInventory>();
     powerUpSound = GetComponent <AudioSource>();
 }