コード例 #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;
 }
コード例 #2
0
 public void Construct(IGameStateContainerRegistry gameStateContainerRegistry, ILogger logger)
 {
     _gameStateContainerRegistry = gameStateContainerRegistry;
     _logger = logger;
 }