We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e07909 commit 7b321a6Copy full SHA for 7b321a6
Assets/Scripts/ConnectionManagement/ConnectionState/OnlineState.cs
@@ -8,12 +8,14 @@ abstract class OnlineState : ConnectionState
8
9
public override void OnUserRequestedShutdown()
10
{
11
+ // This behaviour will be the same for every online state
12
m_ConnectStatusPublisher.Publish(ConnectStatus.UserRequestedDisconnect);
13
m_ConnectionManager.ChangeState(m_ConnectionManager.m_Offline);
14
}
15
16
public override void OnTransportFailure()
17
18
19
20
21
0 commit comments