protected override void OnAwake() { base.OnAwake(); peerContainer = ServerComponents.GetComponent <IPeerContainer>().AssertNotNull(); clientPeerProvider = Components.GetComponent <IClientPeerProvider>().AssertNotNull(); }
protected override void OnAwake() { base.OnAwake(); clientPeerProvider = Components.GetComponent <IClientPeerProvider>().AssertNotNull(); AddUserIdToPeerIdConverter(); SubscribeToDisconnectionNotifier(); SubscribeToUserProfilePropertiesChanged(); SubscribeToUserProfile(); }
protected override void OnAwake() { base.OnAwake(); clientPeerProvider = Components.GetComponent <IClientPeerProvider>().AssertNotNull(); if (lookForOperations) { SubscribeToOperationRequested(); } var coroutinesManager = Components.GetComponent <ICoroutinesManager>().AssertNotNull(); disconnectInactivityTask = coroutinesManager.StartTask(DisconnectInactivity); }