Ejemplo n.º 1
0
 protected override void Init()
 {
     base.Init();
     musicAudioSource = gameObject.AddComponent <AudioSource>();
     audioSourcePool.Init(CreateAudioSource);
     LoadSoundPath();
 }