mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
90ee471bb8
commit
8d00436a8d
@ -117,14 +117,14 @@ internal static void RegisterSystemHandlers(bool hostMode)
|
||||
{
|
||||
RegisterHandler<ObjectDestroyMessage>(OnHostClientObjectDestroy);
|
||||
RegisterHandler<ObjectHideMessage>(OnHostClientObjectHide);
|
||||
RegisterHandler<NetworkPongMessage>(msg => {}, false);
|
||||
RegisterHandler<NetworkPongMessage>(_ => {}, false);
|
||||
RegisterHandler<SpawnMessage>(OnHostClientSpawn);
|
||||
// host mode doesn't need spawning
|
||||
RegisterHandler<ObjectSpawnStartedMessage>(msg => {});
|
||||
RegisterHandler<ObjectSpawnStartedMessage>(_ => {});
|
||||
// host mode doesn't need spawning
|
||||
RegisterHandler<ObjectSpawnFinishedMessage>(msg => {});
|
||||
RegisterHandler<ObjectSpawnFinishedMessage>(_ => {});
|
||||
// host mode doesn't need state updates
|
||||
RegisterHandler<EntityStateMessage>(msg => {});
|
||||
RegisterHandler<EntityStateMessage>(_ => {});
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user