Photon Unity Networking (PUN)
This package is a re-implementation of Unity 4's Networking, using Photon.
Also included: A setup wizard, demo scenes, documentation and Editor extensions.
PUN & PUN+
PUN is the free package of Photon Unity Networking. Export to iOS or Android from Unity 4 requires Unity Pro Licenses.
PUN+ contains special native plugins that allow export to mobiles from Unity 4.x Free. You also get a Photon Cloud subscription upgrade. See below.
Unity 5 does not restrict export to mobiles.
Android and iOS Exports
See "PUN & PUN+"
iOS: Set the stripping level to "Strip Bytecode" and use ".Net 2.0" in the player settings.
More aggressive stripping will break the runtime and you can't connect anymore with PUN Free.
UnityScript / JavaScript
PUN is written with C# in mind primarily.
To use PUN from UnityScript, you need to move some folders in your project.
Move both folders "PhotonNetwork" and "UtilityScripts" to the Assets\Plugins\ folder.
from: \Photon Unity Networking\Plugins\
and: \Photon Unity Networking\
to: \Plugins\
Now PUN compiles before UnityScript and that makes it available from regular UnityScript code.
Help and Documentation
Please read the included chm (or pdf).
Online documentation: http://doc.photonengine.com/en/pun
Exit Games Forum: http://forum.photonengine.com/categories/unity-networking-plugin-pun
Unity Forum Thread: http://forum.unity3d.com/threads/photon-unity-networking.101734/
Integration
This package adds an Editor window "PUN Wizard" for connection setup:
Menu -> Window -> Photon Unity Networking (shortcut: ALT+P)
It also adds a commonly used component "PhotonView" to this menu:
Menu -> Component -> Miscellaneous -> PhotonView (shortcut: ALT+V)
When imported into a new, empty project, the "PunStartup" script opens the "demo hub" and setup scenes to build.
Clean PUN Import (no demos)
To get a clean import of PUN and PUN+ into your project, just skip the folders "Demos" and "UtilityScripts".
UtilityScripts can be useful for rapid prototyping but are optional to use.
"Important Files" are listed below.
Server
Exit Games Photon can be run on your servers or you can subscribe to the Photon Cloud for managed servers.
The window "Photon Unity Networking" will help you setup a Photon Cloud account.
This service is geared towards room-based games and the server cannot be modified.
Read more about it: http://www.photonengine.com
Alternatively, download the Server SDK and run your own Photon Server.
The SDK has the binaries to run immediately but also includes the source code and projects
for the game logic. You can use that as basis to modify and extend it.
A 100 concurrent user license is free (also for commercial use) per game.
Read more about it: http://www.photonengine.com/en/OnPremise
PUN+ and Networking Guide Subscriptions
Follow these steps when you bought an asset that includes an upgrade for a Photon Cloud subscription:
Use an existing Photon Cloud Account or register. https://www.photonengine.com/Account/SignUp
Sign in and open the Dashboard. https://www.photonengine.com/dashboard/Realtime/
Select the Subscription to upgrade and click "Apply Unity Purchase".
Enter your Unity Invoice Number and App ID.
You find the App ID on: https://www.photonengine.com/dashboard/Realtime/
You find your Unity Invoice Number in the Unity AssetStore:
https://www.assetstore.unity3d.com/en/#!/account/transactions
Or while logged in to the Asset Store, click on your name on the top right.
From the drop-down select the payment method you used to obtain PUN+).
Navigate to your PUN+ purchase and copy the number following the "#" symbol (excluding the "#" and spaces).
Important Files
Documentation
PhotonNetwork-Documentation.chm (a pdf is also included)
changelog.txt
Extensions & Source
Photon Unity Networking\Editor\PhotonNetwork\*.*
Photon Unity Networking\Plugins\PhotonNetwork\*.*
Plugins\**\Photon*.*
The server-setup will be saved as file (can be moved into any Resources folder and edited in inspector)
Photon Unity Networking\Resources\PhotonServerSettings.asset
Demos
All demos are in separate folders in Photon Unity Networking\Demos\. Delete this folder in your projects.
Each has a Demo<name>-Scene.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Bus Subway MultiplayerUnity休闲巴士地铁跑酷游戏项目源码 这是一款令人上瘾的游戏,绝对会给用户带来欢乐。巴士和地铁跑酷游戏源代码非常干净,没有错误。 无尽的奔跑者 奖金回合 这是一款令人上瘾的游戏,绝对会给用户带来欢乐。巴士和地铁跑酷游戏源代码非常干净,没有错误。 无尽的奔跑者 奖金回合 支持unity版本5.6.1f1及以上
资源推荐
资源详情
资源评论
收起资源包目录
Bus Subway Multiplayer Unity休闲巴士地铁跑酷游戏项目源码C# (2000个子文件)
CameraMenuIdle.anim 53KB
ContainItemShow.anim 52KB
CameraMenuRun.anim 51KB
CameraMenuFar.anim 41KB
CameraMenuPlay.anim 34KB
AllCharactersRun.anim 32KB
PanelViewFullWin.anim 25KB
PanelViewFullLose.anim 24KB
TapToPlayRun.anim 23KB
PanelBonusRun.anim 22KB
FormMenuOpen.anim 19KB
TextEffectBonusRoadRun.anim 19KB
TextEffectWinLoseRun.anim 18KB
PreChestBoxExplosion.anim 14KB
NoteFBRun.anim 14KB
EffectAddPointRun.anim 10KB
PanelItemBuyShow.anim 9KB
TextNumberRun.anim 8KB
PanelViewFullNone.anim 8KB
PanelHighScoreRun.anim 7KB
ChestBoxBonusRun.anim 7KB
ContainItemOpen.anim 7KB
BGLoadingRun.anim 6KB
MessageBoxClose.anim 6KB
MessageBoxOpen.anim 6KB
MessageBoxIdle.anim 5KB
MessageBoxShow.anim 5KB
PanelItemBuyClose.anim 5KB
IconLoadingRun.anim 5KB
PanelItemBuyOpen.anim 5KB
PanelItemBuyIdle.anim 5KB
QuadEffectBonusOpen.anim 4KB
QuadEffectBonusShow.anim 4KB
QuadEffectBonusIdle.anim 4KB
PanelItemIdleLeft.anim 4KB
ArrowGuideRun.anim 4KB
PreChestBoxIdle.anim 4KB
PanelItemCloseLeft.anim 3KB
PanelItemOpenRight.anim 3KB
PanelItemCloseRight.anim 3KB
PanelItemOpenLeft.anim 3KB
PanelItemShowRight.anim 3KB
PanelItemIdleRight.anim 3KB
PanelItemShowLeft.anim 3KB
BGEffectBonusRoadClose.anim 3KB
BGEffectBonusRoadOpen.anim 3KB
PanelEffectOpen.anim 2KB
BGEffectBonusRoadIdle.anim 2KB
BGEffectBonusRoadShow.anim 2KB
PanelEffectClose.anim 2KB
AllCharactersIdle.anim 1KB
PanelEffectNone.anim 1KB
ProjectSettings.asset 19KB
GraphicsSettings.asset 8KB
InputManager.asset 6KB
QualitySettings.asset 5KB
UnityAdsSettings.asset 4KB
Physics2DSettings.asset 1KB
NavMeshAreas.asset 1KB
DynamicsManager.asset 763B
UnityConnectSettings.asset 742B
TagManager.asset 417B
EditorSettings.asset 404B
AudioManager.asset 331B
EditorBuildSettings.asset 329B
TimeManager.asset 202B
NetworkManager.asset 151B
ClusterInputManager.asset 114B
MessageBox.controller 7KB
BGEffectBonusRoad.controller 6KB
MainCamera.controller 6KB
PanelShowItemBuy.controller 6KB
PanelShowItemEatRight.controller 6KB
PanelShowItemEatLeft.controller 6KB
PanelViewFull.controller 6KB
PanelEffect.controller 5KB
QuadEffectBonus.controller 5KB
PreChestBox.controller 3KB
ContainItems.controller 3KB
TapToPlay.controller 3KB
TextEffectBonusRoad.controller 2KB
TextEffectWinLose.controller 2KB
FormGameMenu.controller 2KB
PanelHighScore.controller 2KB
AllCharacters.controller 2KB
TextNumber.controller 2KB
ChestBoxBonus.controller 2KB
IconLoading.controller 2KB
BGLoading.controller 2KB
ArrowGuide.controller 2KB
PanelBonus.controller 2KB
NoteFB.controller 2KB
EffectAddPoint.controller 2KB
Bus Subway Multiplayer.csproj 51KB
Bus Subway Multiplayer.Editor.Plugins.csproj 39KB
Bus Subway Multiplayer.Plugins.csproj 36KB
Integrating Everyplay in Unity3D.docx 420KB
StelaIdle.FBX 7.36MB
HoverBoard.FBX 6.47MB
AkioIdel.FBX 6.13MB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
- weixin_570042342024-03-13这个资源值得下载,资源内容详细全面,与描述一致,受益匪浅。
小云同志你好
- 粉丝: 1047
- 资源: 931
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功