コード例 #1
0
    public void OnFixedUpdate(IClock clock)
    {
        //Debug.Log("client fixed update " + clock.FrameCount);

        // First we simulate
        _simulation.SimulateUnity(clock.DeltaTime);

        // Then we apply any correction from the server
        Correct(clock);
    }
コード例 #2
0
 public void OnFixedUpdate(IClock clock)
 {
     _simulation.SimulateUnity(clock.DeltaTime);
 }