- Home /
Update Network Problem
Hello so i have this:
 void Update () {
 
     if(Input.GetAxis("Vertical") != 0 || Input.GetAxis("Horizontal") != 0){
         MovementDirty = true;
     }
 
 }
 
     
 void FixedUpdate() {
         
     if (MovementDirty) {
 
         //Send Data//
         MovementDirty = false;
                 
     }
             
 }
And i wanted to check it directly using the FixedUpdate, but the fps went downtown. But with this way it works. Shouldn't it be the opposite?
               Comment
              
 
               
              Answer by fholm · Mar 27, 2014 at 09:33 AM
Things which run in Update() run on every rendered frame, things that run in FixedUpdate() runs a set times per second.
Your answer
 
 
             Follow this Question
Related Questions
How to create a dynamic map in hand of FPS like Far Cry 2 or Firewatch? 0 Answers
Objects not showing in a network game 2 Answers
Rigidbody acts weird when networked 0 Answers
Photon Network Muzzleflash 0 Answers
