Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
duyca committed Feb 26, 2024
1 parent b4428b8 commit e3760ba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 26 deletions.
14 changes: 4 additions & 10 deletions .idea/.idea.FishNet/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static class PredictionRigidbodySerializers
//}
}

public class PredictionRigidbody : IResettable
public class PredictionRigidBody : IResettable
{
#region Types.
internal struct ForceData
Expand Down Expand Up @@ -66,7 +66,7 @@ public ForceData(Vector3 force, ForceMode mode, bool velocity)
internal List<ForceData> PendingForces;
#endregion

~PredictionRigidbody()
~PredictionRigidBody()
{
if (PendingForces != null)
CollectionCaches<ForceData>.StoreAndDefault(ref PendingForces);
Expand Down Expand Up @@ -154,13 +154,13 @@ public void ClearPendingForces()
/// <summary>
/// Reconciles to a state.
/// </summary>
public void Reconcile(PredictionRigidbody pr)
public void Reconcile(PredictionRigidBody pr)
{
PendingForces.Clear();
foreach (ForceData item in pr.PendingForces)
PendingForces.Add(new ForceData(item));

ResettableObjectCaches<PredictionRigidbody>.Store(pr);
ResettableObjectCaches<PredictionRigidBody>.Store(pr);
}

/// <summary>
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion Assets/FishNet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "com.fishnet",
"displayName": "FishNet - Unity Networking Evolved",
"description": "FishNet - Unity Networking Evolved",
"version": "4.1.4",
"version": "4.1.5",
"unity": "2021.3",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit e3760ba

Please sign in to comment.