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:
MrGadget 2023-11-14 03:50:42 -05:00 committed by GitHub
parent 77898df586
commit 63f0fe4365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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