Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     Player       = GameObject.Find("Player").GetComponent <Player_Manager>();
     Upgrade      = GetComponent <SpriteRenderer>().sprite;
     Rupees       = GameObject.Find("RupeeCount").GetComponent <RupeeCount>();
     Canvas       = transform.GetChild(0).gameObject;
     interactable = true;
     Upgrade.name = inspectorName;
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     RupeeHUD  = GameObject.Find("RupeeCount").GetComponent <RupeeCount>();
     ItemAudio = GameObject.Find("Player").GetComponent <Player_Manager>().PlayerInternalAudio;
 }