mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
improve comments
This commit is contained in:
parent
ee1807c85c
commit
53aa0bcc19
@ -270,11 +270,12 @@ public static bool Send<T>(T message, int channelId = Channels.DefaultReliable)
|
|||||||
|
|
||||||
internal static void Update()
|
internal static void Update()
|
||||||
{
|
{
|
||||||
// local or remote connection?
|
// local connection?
|
||||||
if (connection is ULocalConnectionToServer localConnection)
|
if (connection is ULocalConnectionToServer localConnection)
|
||||||
{
|
{
|
||||||
localConnection.Update();
|
localConnection.Update();
|
||||||
}
|
}
|
||||||
|
// remote connection?
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// only update things while connected
|
// only update things while connected
|
||||||
|
Loading…
Reference in New Issue
Block a user