private PlayersSpawnManager
 (
     ITickableManager tickManager,
     ConnectedUserMonoView.Factory connectedUserFactory,
     OwnerUserMonoView.Factory ownerUserFactory
 )
 {
     _tickManager          = tickManager;
     _ownerUserFactory     = ownerUserFactory;
     _connectedUserFactory = connectedUserFactory;
     _tickManager.Register(SpawnPlayer);
     _tickManager.Register(SpawnUser);
 }
Beispiel #2
0
 public void GatherOn(OwnerUserMonoView userView)
 {
     _observeredUserView = userView;
     _udpDataSender      = new UdpDataSender();
     _udpDataSender.InitSender(_userManager.GetUserUdpClient(), GetSendingData);
     _tickManager.Register(Gather);
 }
Beispiel #3
0
 private void PostInject()
 {
     _tickableManager.Register(ApplyUserInfo);
 }