包含9節(jié)視頻教程
這是臨摹的終極表現(xiàn)!在臨摹領(lǐng)域達(dá)到真實(shí)照片的級(jí)別,讓你的繪畫(huà)讓別人驚呼吧!這不是照片,真的是繪畫(huà)出來(lái)的。我們一起來(lái)學(xué)習(xí)吧!
|
The Network Manager contains two very important properties for making Networked multiplayer games. 網(wǎng)絡(luò)管理器包含網(wǎng)絡(luò)游戲開(kāi)發(fā)的2個(gè)重要屬性。
You can access the Network Manager by selecting Edit->Project Settings->Network from the menu bar. 你可以在菜單Edit->Project Settings->Network打開(kāi)網(wǎng)絡(luò)管理器。 Properties 屬性
Details 細(xì)節(jié)Adjusting the Debug Level can be enormously helpful in fine-tuning or debugging your game's networking behaviors. At first, setting it to Full will allow you to see every single network action that is performed. This will give you an overall sense of how frequently you are using network communication and how much bandwidth you are using as a result. 改變調(diào)試級(jí)別在微調(diào)或調(diào)試游戲的網(wǎng)絡(luò)行為時(shí)非常有用。開(kāi)始將它設(shè)置為 所有(Full),可以查看每一個(gè)網(wǎng)絡(luò)行為的執(zhí)行,也可以讓你對(duì)網(wǎng)絡(luò)通訊的使用頻率和帶寬占用有整體的感觀。 When you set it to Informational, you will see major events, but not every individual activity. Assigning unique Network IDs and buffering RPC calls will be logged here. 如果你設(shè)置為報(bào)告(Informational),可以查看主要的事件,而不是所有的活動(dòng)。分配唯一網(wǎng)絡(luò)ID和緩沖RPC調(diào)用將被記錄。 When it is Off, only errors from networking will be printed to the console. 如果設(shè)置為關(guān)閉(off),控制臺(tái)將會(huì)只輸出網(wǎng)絡(luò)的錯(cuò)誤信息。 The data that is sent at the Sendrate intervals (1 second / Sendrate = interval) will vary based on the Network View properties of each broadcasting object. If the Network View is using Unreliable, its data will be send at each interval. If the Network View is using Reliable Delta Compressed, Unity will check to see if the Object being watched has changed since the last interval. If it has changed, the data will be sent. 每個(gè)廣播物體會(huì)根據(jù)發(fā)送時(shí)間間隔(1秒/發(fā)送頻率=間隔)來(lái)發(fā)送數(shù)據(jù),發(fā)送間隔由網(wǎng)絡(luò)視圖屬性決定。如果網(wǎng)絡(luò)視圖設(shè)置為不可靠(Unreliable),那么每個(gè)時(shí)間間隔都將發(fā)送數(shù)據(jù)。如果網(wǎng)絡(luò)視圖設(shè)置為可靠差異壓縮(Reliable Delta Compressed),Unity會(huì)檢查物體與上一個(gè)時(shí)間間隔相比,數(shù)據(jù)是否發(fā)生了改變。如果數(shù)據(jù)改變了,才會(huì)被發(fā)送。 贊0 踩0 |
未知用戶(hù)
2005-2024 朱峰社區(qū) 版權(quán)所有 遼ICP備2021001865號(hào)-1
2005-2024 ZhuFeng Community All Rights Reserved
VIP