Example #1
0
 public override void Update()
 {
     base.Update();
     if (!CurrentInput.IsValid)
     {
         return;
     }
     InputBuffer[0] = CurrentInput;
     NetworkServer.BroadcastInput(Timestep, MatchInput.AllValid, InputBuffer);
 }