Ejemplo n.º 1
0
 public AudioPlayer(
     FXBehaviour.Factory fxFactory,
     [Inject(Id = AudioInstaller.kMusicSourceId)]
     AudioSource musicSource,
     IFXClip[] fxClips, IMusicClip[] musicClips,
     ILogger logger)
 {
     _fxFactory   = fxFactory;
     _musicSource = musicSource;
     _fxClips     = fxClips;
     _musicClips  = musicClips;
     _logger      = logger;
 }
 public void Construct(IGameStateContainerRegistry gameStateContainerRegistry, ILogger logger)
 {
     _gameStateContainerRegistry = gameStateContainerRegistry;
     _logger = logger;
 }