Exemplo n.º 1
0
 private float PlayerSpeed()
 {
     if (controllerType == ControllerType.Local)
     {
         return(gameEntity.GetGameEntityController().GetPlayerSpeed());
     }
     else
     {
         return(networkFields.GetFloat(GMKeyCode.PlayerSpeed));
     }
 }