惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Forbes - Security
Forbes - Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
F
Fortinet All Blogs
B
Blog
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
Y
Y Combinator Blog
Microsoft Azure Blog
Microsoft Azure Blog
L
LangChain Blog
Recent Announcements
Recent Announcements
U
Unit 42
Martin Fowler
Martin Fowler
M
MIT News - Artificial intelligence
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The Register - Security
The Register - Security
Recorded Future
Recorded Future
C
Check Point Blog
V
V2EX
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
F
Full Disclosure
小众软件
小众软件
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
MongoDB | Blog
MongoDB | Blog
爱范儿
爱范儿
P
Proofpoint News Feed
罗磊的独立博客
量子位
D
Docker
博客园_首页
D
DataBreaches.Net
Project Zero
Project Zero
博客园 - 司徒正美
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
博客园 - Franky
Security Latest
Security Latest
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
N
Netflix TechBlog - Medium
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - 三生石上(FineUI控件)
H
Hackread – Cybersecurity News, Data Breaches, AI and More
大猫的无限游戏
大猫的无限游戏

博客园 - 王传炜

Unity Networking API文档翻译(一):Networking概述 Unity3D独立游戏开发日记(二):摆放建筑物 Unity3D独立游戏开发日记(一):动态生成树木 如何申请TexturePacker 我的个人总结 《windowsPhone游戏开发实战》 如何在WP7上用XNA写2D游戏(六) 写在"CastleDefense"上市1周月之际 如何在WP7上用XNA写2D游戏(五) 如何在WP7上用XNA写2D游戏(四) 如何在WP7上用XNA写2D游戏(三) 如何在WP7上用XNA写2D游戏(二) 如何在WP7上用XNA写2D游戏(一) 我的2010年 Silverlight MMORPG WebGame游戏设计(七)-----IsolatedStorage,想说爱你不容易 Silverlight MMORPG WebGame游戏设计(六)-----Server和Client的婚后协议[附上完整15M游戏DEMO] Silverlight MMORPG WebGame游戏设计(五)-----Client的嫁妆 - 王传炜 Silverlight MMORPG WebGame游戏设计(四)-----Client:Server!房子啥时候装好?我急嫁人啊! Silverlight MMORPG WebGame游戏设计(三)-----Server和Client的暗号
Unity Networking API文档翻译(二):The High Level API
王传炜 · 2015-12-16 · via 博客园 - 王传炜

  高级API (HLAPI) 是用来提供给Unity 创建多人在线游戏的组件.它是在底层传输层的基础上构建的, 对多人在线游戏提供了很多通用的功能。当传输层支持各种网络拓扑结构的时候,HLAPI是一个功能强大的服务器,当然它也支持游戏网络中的一个客户端建立主机让其他客户端连接,所以不需要专门的服务器。利用Unity提供的internet services (互联网服务), 开发者可以使用HLAPI只做少量的工作就能完成一个运行在互联网上的多人在线游戏。

      HLAPI是Unity里新的网络组件,使用了新的命名空间:UnityEngine.Networking。它很容易使用,减少了重复开发量,并且为多人在线游戏提供了很有用的一些服务,例如:

  • 消息处理
  • 通用高性能的序列化
  • 分布式的对象管理
  • 状态同步
  • 网络类:Server,Client,Connection等

HLAPI是由下列一系列的层构建的:

 

更多信息请查看以下链接: