mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Use explicit type
This commit is contained in:
parent
63e958e8a8
commit
bbe4ac8c19
@ -762,7 +762,7 @@ internal void OnDeserializeAllSafely(NetworkReader reader, bool initialState)
|
|||||||
// read component dirty mask
|
// read component dirty mask
|
||||||
ulong dirtyComponentsMask = reader.ReadPackedUInt64();
|
ulong dirtyComponentsMask = reader.ReadPackedUInt64();
|
||||||
|
|
||||||
var components = NetworkBehaviours;
|
NetworkBehaviour[] components = NetworkBehaviours;
|
||||||
// loop through all components and deserialize the dirty ones
|
// loop through all components and deserialize the dirty ones
|
||||||
for (int i = 0; i < components.Length; ++i)
|
for (int i = 0; i < components.Length; ++i)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user