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 cd18d78 commit 361b922Copy full SHA for 361b922
Assets/Mirror/Runtime/Transport/Ignorance/IgnoranceClassic.cs
@@ -159,7 +159,6 @@ public string GetClientPing()
159
}
160
#endregion
161
162
- // TODO: Check this out.
163
public override int GetMaxPacketSize(int channelId = 0)
164
{
165
return PacketCache.Length;
@@ -528,6 +527,16 @@ public void LateUpdate()
528
527
529
530
+ public override bool Available()
531
+ {
532
+#if UNITY_WEBGL || UNITY_WSA
533
+ // Ignorance is not available on these platforms.
534
+ return false;
535
+#else
536
+ return true;
537
+#endif
538
+ }
539
+
540
public override string ToString()
541
542
// A little complicated if else mess.
0 commit comments