//public AssetBundle myLoadedAssetBundle; // public coincounter coin; //public GameObject testPrefab; // Use this for initialization void Start() { mPlayer = GameObject.Find("MusicPlayer").GetComponent <ElPlayer>(); audioS = mPlayer.GetComponent <AudioSource>(); //Scene newScene = SceneManager.CreateScene("Spawn"); //myLoadedAssetBundle = AssetBundle.LoadFromFile("Assets/AssetBundles/scenes"); //testPrefab = (GameObject)Resources.Load("/sprites/coinsss"); }
// Use this for initialization void Start() { este = GameObject.Find("MusicPlayer").GetComponent <ElPlayer>(); aquel = este.GetComponent <AudioSource>(); win = GetComponent <AudioSource>(); }