public void LostHostOnHost()
{
if (LogFilter.logDebug)
{
Debug.Log("NetworkMigrationManager LostHostOnHost");
}
if (Application.platform == RuntimePlatform.WebGLPlayer)
{
if (LogFilter.logError)
{
Debug.LogError("LostHostOnHost: Host migration not supported on WebGL");
}
}
else
{
this.OnServerHostShutdown();
if (this.m_Peers == null)
{
if (LogFilter.logError)
{
Debug.LogError("NetworkMigrationManager LostHostOnHost no peers");
}
}
else if (this.m_Peers.Length != 1)
{
this.m_HostWasShutdown = true;
}
}
}