Some handling of dropped packages

This commit is contained in:
2026-01-04 19:06:03 +01:00
parent 60abba8498
commit 2636e65e4d
4 changed files with 1240 additions and 1040 deletions

View File

@@ -58,9 +58,13 @@ public class TestBallManager : UdonSharpBehaviour
{
networkManager.SimulateSyncToTimestamp(NetworkManager.TimeToTimestamp(networkManager.SyncedTime - 0.5f));
}
else if (networkManager.IsOwner)
{
networkManager.SendEvent(NetworkEventType.FullSync);
}
else
{
networkManager.SendEvent((NetworkEventType)0);
networkManager.RequestEvent(NetworkEventType.FullSync);
}
}
}