mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
95e0545759
commit
c20de093ec
@ -44,16 +44,6 @@ public static class ClientScene
|
||||
internal static readonly Dictionary<Guid, UnSpawnDelegate> unspawnHandlers =
|
||||
new Dictionary<Guid, UnSpawnDelegate>();
|
||||
|
||||
internal static void Shutdown()
|
||||
{
|
||||
ClearSpawners();
|
||||
spawnableObjects.Clear();
|
||||
readyConnection = null;
|
||||
ready = false;
|
||||
isSpawnFinished = false;
|
||||
DestroyAllClientObjects();
|
||||
}
|
||||
|
||||
// add player //////////////////////////////////////////////////////////
|
||||
// called from message handler for Owner message
|
||||
internal static void InternalAddPlayer(NetworkIdentity identity)
|
||||
@ -924,5 +914,16 @@ static void CheckForLocalPlayer(NetworkIdentity identity)
|
||||
// Debug.Log("ClientScene.OnOwnerMessage - player=" + identity.name);
|
||||
}
|
||||
}
|
||||
|
||||
// shutdown ////////////////////////////////////////////////////////////
|
||||
internal static void Shutdown()
|
||||
{
|
||||
ClearSpawners();
|
||||
spawnableObjects.Clear();
|
||||
readyConnection = null;
|
||||
ready = false;
|
||||
isSpawnFinished = false;
|
||||
DestroyAllClientObjects();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user