找回密码
 注册帐号

扫一扫,访问微社区

component.networkview 网络视图

2015-1-5 06:27| 发布者: 杨炎| 查看: 1580| 评论: 0|原作者: 蛮牛|来自: unity3d脚本manual

摘要: component.networkview 网络视图varnetworkview:networkviewdescription描述thenetworkviewattached to thisgameobject(read only). (null if there is none attached)networkview附加到gameobject(游戏物体)(只 ...

component.networkview 网络视图

varnetworkview:networkview

description描述

thenetworkviewattached to thisgameobject(read only). (null if there is none attached)

networkview附加到gameobject(游戏物体)(只读)(如无附加则为空)。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

networkview.rpc("myfunction", rpcmode.all, "somevalue");

}

}

networkview.rpc("myfunction", rpcmode.all, "somevalue");

相关阅读

文章点评
相关文章