mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkManager consistent NetworkIdentity naming
This commit is contained in:
parent
935b2afc9a
commit
7ad844cab7
@ -351,9 +351,9 @@ public virtual void ServerChangeScene(string newSceneName)
|
||||
|
||||
void CleanupNetworkIdentities()
|
||||
{
|
||||
foreach (NetworkIdentity netId in Resources.FindObjectsOfTypeAll<NetworkIdentity>())
|
||||
foreach (NetworkIdentity identity in Resources.FindObjectsOfTypeAll<NetworkIdentity>())
|
||||
{
|
||||
netId.MarkForReset();
|
||||
identity.MarkForReset();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user