Ejemplo n.º 1
0
    void Awake()
    {
        Load();
        myAudioSource = GetComponent <AudioSource> ();
        MM            = GameObject.FindGameObjectWithTag("UI").GetComponent <mainMenuManager>();
        bag           = GameObject.FindGameObjectWithTag("Bag").GetComponent <Bag>();

        MM.SetNewShopCoinsValue();
        LoadPlayerAndMapSkin();
    }
Ejemplo n.º 2
0
 void Awake()
 {
     MM  = GameObject.FindGameObjectWithTag("UI").GetComponent <mainMenuManager>();
     bag = GameObject.FindGameObjectWithTag("Bag").GetComponent <Bag>();
 }