Update LightReflectiveMirrorTransport.cs
This commit is contained in:
parent
23165b7d1f
commit
358169d8b6
1 changed files with 6 additions and 1 deletions
|
|
@ -12,7 +12,6 @@ namespace LightReflectiveMirror
|
|||
[DefaultExecutionOrder(1001)]
|
||||
public partial class LightReflectiveMirrorTransport : Transport
|
||||
{
|
||||
private void OnConnectedToRelay() => _connectedToRelay = true;
|
||||
public bool IsAuthenticated() => _isAuthenticated;
|
||||
private void Awake()
|
||||
{
|
||||
|
|
@ -61,6 +60,12 @@ namespace LightReflectiveMirror
|
|||
serverStatus = "Disconnected from relay.";
|
||||
}
|
||||
|
||||
private void OnConnectedToRelay()
|
||||
{
|
||||
_connectedToRelay = true;
|
||||
RequestServerList();
|
||||
}
|
||||
|
||||
public void ConnectToRelay()
|
||||
{
|
||||
if (!useLoadBalancer)
|
||||
|
|
|
|||
Loading…
Reference in a new issue