add missing virtual update methods in MultiplexTransport (#2618)

This commit is contained in:
Coyote-A 2021-03-10 16:34:25 +07:00 committed by GitHub
parent f239ee678a
commit 29590401bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,38 @@ public void Awake()
}
}
public override void ClientEarlyUpdate()
{
foreach (Transport transport in transports)
{
transport.ClientEarlyUpdate();
}
}
public override void ServerEarlyUpdate()
{
foreach (Transport transport in transports)
{
transport.ServerEarlyUpdate();
}
}
public override void ClientLateUpdate()
{
foreach (Transport transport in transports)
{
transport.ClientLateUpdate();
}
}
public override void ServerLateUpdate()
{
foreach (Transport transport in transports)
{
transport.ServerLateUpdate();
}
}
void OnEnable()
{
foreach (Transport transport in transports)