mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkTransformReliable: remove unused 'lastClientCount'
This commit is contained in:
parent
ca27f3d6c9
commit
5b772a32f3
@ -42,8 +42,6 @@ public class NetworkTransformReliable : NetworkTransformBase
|
|||||||
// Used to store last sent snapshots
|
// Used to store last sent snapshots
|
||||||
protected TransformSnapshot last;
|
protected TransformSnapshot last;
|
||||||
|
|
||||||
protected int lastClientCount = 1;
|
|
||||||
|
|
||||||
// update //////////////////////////////////////////////////////////////
|
// update //////////////////////////////////////////////////////////////
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
@ -123,8 +121,6 @@ protected virtual void UpdateClient()
|
|||||||
TransformSnapshot computed = TransformSnapshot.Interpolate(from, to, t);
|
TransformSnapshot computed = TransformSnapshot.Interpolate(from, to, t);
|
||||||
Apply(computed, to);
|
Apply(computed, to);
|
||||||
}
|
}
|
||||||
|
|
||||||
lastClientCount = clientSnapshots.Count;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user