some progress...
This commit is contained in:
@@ -101,7 +101,7 @@ public class PlayerInputNetwork2 : IPlayerInput
|
||||
_worldStateManager.GetPlayerInputState(_playerId, _frame, out _state);
|
||||
}
|
||||
|
||||
public PlayerInputState2 GetState() { return default; }
|
||||
public PlayerInputState2 GetState() => _state;
|
||||
|
||||
public void ResetState()
|
||||
{
|
||||
|
||||
@@ -286,7 +286,7 @@ public class PlayerMovement : Script
|
||||
//if (Input is PlayerInputDemo /*&& currentInputFrame2 >= currentInputFrame*/)
|
||||
// return;
|
||||
|
||||
Input.SetFrame(worldStateManager.ClientFrame);
|
||||
Input.SetFrame(worldStateManager.Frame);
|
||||
Input.UpdateState();
|
||||
|
||||
/*if (input.frame > 0)
|
||||
|
||||
Reference in New Issue
Block a user