Network.sendRate 发送速率

static var sendRate : float

Description描述

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

用于所有网络视图,网络更新的默认发送速率。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	void Awake() {
		Network.sendRate = 25;
	}
}
function Awake () {
	// Increase default send rate
	//增加默认发送速率
	Network.sendRate = 25;
}
Page last updated: 2011-4-2