aha
This commit is contained in:
15
Assets/Mirror/Core/SnapshotInterpolation/TimeSnapshot.cs
Normal file
15
Assets/Mirror/Core/SnapshotInterpolation/TimeSnapshot.cs
Normal file
@ -0,0 +1,15 @@
|
||||
namespace Mirror
|
||||
{
|
||||
// empty snapshot that is only used to progress client's local timeline.
|
||||
public struct TimeSnapshot : Snapshot
|
||||
{
|
||||
public double remoteTime { get; set; }
|
||||
public double localTime { get; set; }
|
||||
|
||||
public TimeSnapshot(double remoteTime, double localTime)
|
||||
{
|
||||
this.remoteTime = remoteTime;
|
||||
this.localTime = localTime;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user