mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix(PredictedState): Remove public accessors (#3649)
- Unity 2019 doesn't support `public` accessors inside interfaces. - Compiles fine in all Unity versions without them.
This commit is contained in:
parent
77898df586
commit
63f0fe4365
@ -8,7 +8,7 @@ namespace Mirror
|
||||
// have a common interface.
|
||||
public interface PredictedState
|
||||
{
|
||||
public double timestamp { get; }
|
||||
double timestamp { get; }
|
||||
|
||||
// predicted states should have absolute and delta values, for example:
|
||||
// Vector3 position;
|
||||
@ -16,7 +16,7 @@ public interface PredictedState
|
||||
// when inserting a correction between this one and the one before,
|
||||
// we need to adjust the delta:
|
||||
// positionDelta *= multiplier;
|
||||
public void AdjustDeltas(float multiplier);
|
||||
void AdjustDeltas(float multiplier);
|
||||
}
|
||||
|
||||
public static class Prediction
|
||||
|
Loading…
Reference in New Issue
Block a user