Update FishNet
This commit is contained in:
+2
-2
@@ -431,7 +431,7 @@ namespace FishNet.Demo.Prediction.CharacterControllers
|
||||
/// <summary>
|
||||
/// Called when the trigger on this object enters another collider.
|
||||
/// </summary>
|
||||
private void CharacterTrigger_OnEnter(Collider c)
|
||||
private void CharacterTrigger_OnEnter(Collider c, uint tick)
|
||||
{
|
||||
//We only care about moving platforms.
|
||||
if (!c.TryGetComponent(out MovingPlatform mp))
|
||||
@@ -444,7 +444,7 @@ namespace FishNet.Demo.Prediction.CharacterControllers
|
||||
/// <summary>
|
||||
/// Called when the trigger on this object exits another collider.
|
||||
/// </summary>
|
||||
private void CharacterTrigger_OnExit(Collider c)
|
||||
private void CharacterTrigger_OnExit(Collider c, uint tick)
|
||||
{
|
||||
if (c == null)
|
||||
return;
|
||||
|
||||
+2
-2
@@ -13,6 +13,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 207815
|
||||
packageName: 'FishNet: Networking Evolved'
|
||||
packageVersion: 4.6.22R
|
||||
packageVersion: 4.7.1R
|
||||
assetPath: Assets/FishNet/Demos/Prediction/CharacterController/Scripts/CharacterControllerPrediction.cs
|
||||
uploadId: 866910
|
||||
uploadId: 892096
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using FishNet.Object;
|
||||
using FishNet.Object.Prediction;
|
||||
using FishNet.Transporting;
|
||||
using FishNet.Utility.Template;
|
||||
@@ -133,7 +132,7 @@ namespace FishNet.Demo.Prediction.CharacterControllers
|
||||
_goalIndex = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[Reconcile]
|
||||
private void PerformReconcile(ReconcileData rd, Channel channel = Channel.Unreliable)
|
||||
{
|
||||
|
||||
@@ -13,6 +13,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 207815
|
||||
packageName: 'FishNet: Networking Evolved'
|
||||
packageVersion: 4.6.22R
|
||||
packageVersion: 4.7.1R
|
||||
assetPath: Assets/FishNet/Demos/Prediction/CharacterController/Scripts/MovingPlatform.cs
|
||||
uploadId: 866910
|
||||
uploadId: 892096
|
||||
|
||||
@@ -13,6 +13,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 207815
|
||||
packageName: 'FishNet: Networking Evolved'
|
||||
packageVersion: 4.6.22R
|
||||
packageVersion: 4.7.1R
|
||||
assetPath: Assets/FishNet/Demos/Prediction/CharacterController/Scripts/StaminaCanvas.cs
|
||||
uploadId: 866910
|
||||
uploadId: 892096
|
||||
|
||||
Reference in New Issue
Block a user