mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkScenePostProcess: 'uvs' renamed to 'identities'
This commit is contained in:
parent
163600c498
commit
ce803e1ea1
@ -130,11 +130,11 @@ public static void OnPostProcessScene()
|
||||
//
|
||||
// note: this can still fail if DontDestroyOnLoad is called for a
|
||||
// NetworkIdentity - but no one should ever do that anyway.
|
||||
List<NetworkIdentity> uvs = FindObjectsOfType<NetworkIdentity>().ToList();
|
||||
uvs.Sort(CompareNetworkIdentitySiblingPaths);
|
||||
List<NetworkIdentity> identities = FindObjectsOfType<NetworkIdentity>().ToList();
|
||||
identities.Sort(CompareNetworkIdentitySiblingPaths);
|
||||
|
||||
uint nextSceneId = 1;
|
||||
foreach (NetworkIdentity identity in uvs)
|
||||
foreach (NetworkIdentity identity in identities)
|
||||
{
|
||||
// if we had a [ConflictComponent] attribute that would be better than this check.
|
||||
// also there is no context about which scene this is in.
|
||||
|
Loading…
Reference in New Issue
Block a user