NetworkView.group 组

var group : int

Description描述

The network group number of this network view.

这个网络视图所在的网络组。

All network messages and RPC calls go through this group number.

所有的网络消息和RPC调用,通过这个组。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	void Awake() {
		networkView.group = 1;
	}
}
function Awake() {
// Send everything from this network view through group 1
//通过group 1,从该网络视图,发送所有
networkView.group = 1;
}
Page last updated: 2011-3-30