Network.sendRate Manual     Reference     Scripting  
Scripting > Runtime Classes > Network
Network.sendRate

static var sendRate : float

Description

The default send rate of network updates for all Network Views.

JavaScript
function Awake () {
// Increase default send rate
Network.sendRate = 25;
}

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
Network.sendRate = 25;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
Network.sendRate = 25