コード例 #1
0
 public void Inject(IContainer container)
 {
     _playerTargetingService = container.Get <IPlayerTargetingService>();
     _playerMovementService  = container.Get <IPlayerMovementService>();
     _playerCollisionService = container.Get <IPlayerCollisionService>();
     _gameStateManager       = container.Get <IGameStateManager>();
     _configStorage          = container.Get <IConfigStorage>();
 }
コード例 #2
0
 public void Inject(IContainer container)
 {
     _unityEventManager = container.Get <IUnityEventManager>();
     _prefabLoader      = container.Get <IPrefabLoader>();
     _movementService   = container.Get <IPlayerMovementService>();
 }