找回密碼
 注冊帳號

掃一掃,訪問微社區

component.networkview 網絡視圖

2015-1-5 06:27| 發布者: 楊炎| 查看: 1812| 評論: 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");

相關閱讀

文章點評
相關文章
极速时时彩开奖最快的网站