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