GameObject.networkView 网络视图

var networkView : NetworkView

Description描述

The NetworkView attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的网络视图(只读)。(如果没有则为空)

var other : GameObject;
other.networkView.RPC("MyFunction", RPCMode.All, "someValue");
最后修改:2010年12月13日 Monday 16:11

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。