Photon Unity Networking (PUN)
This package is a re-implementation of Unity'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).
Exit Games Forum: http://forum.photonengine.com/categories/unity-networking-plugin-pun
Online documentation: http://doc.photonengine.com/en/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.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Photon Unity Networking(PUN)的简单使用 (1763个子文件)
00000000000000001000000000000000 4KB
00000000000000002000000000000000 4KB
00000000000000003000000000000000 4KB
00000000000000004000000000000000 4KB
00000000000000004100000000000000 4KB
00000000000000005000000000000000 4KB
00000000000000005100000000000000 4KB
00000000000000006000000000000000 4KB
00000000000000006100000000000000 4KB
00000000000000007000000000000000 4KB
00000000000000007100000000000000 4KB
00000000000000008000000000000000 4KB
00000000000000008100000000000000 4KB
00000000000000009000000000000000 4KB
0000000000000000a000000000000000 4KB
0000000000000000a100000000000000 4KB
0000000000000000b000000000000000 4KB
0000000000000000c000000000000000 4KB
000ef710937cf394f83251fd684272ec 5KB
006991e32d9020c4d896f161318a2bc0 11KB
0268f98d7c649564a818b0768fc68d4b 4KB
043bd8ce63fde7c41a9ee103809fa981 7KB
04bb5f307f2e48b4fbaa6da865fd4091 4KB
0979b142dbbcc4a40b88df76d2c0f99b 4KB
0d4b6271862c01040946af30de54e23c 4KB
0e7cb724808c322458aa4d15f5035fa9 7KB
11b45bfcb19ad694bb6f199fb97642ce 7KB
15757b26cd9b53247be86da9e8da19dd 23KB
166dfe22956ef0341b28e18d0499e363 13KB
17568a7a5552c09428dd48e73548b8b8 19KB
177bddf229f8d8445a70c0652f03b7df 16KB
1a1b3bda60e9e804f87fd1e5d20a885a 17KB
1aed457b8bf6f2f4a968319d092d08f4 4KB
1bce6de8ef6f2ab429a51e9c259ee230 4KB
1eb01fc0eb23a2742a4c46a4518befc3 4KB
1faa1cf0448470c4ebbb23b97759ab50 13KB
1fbabafd914a48f4eb6108d8d8f43d29 5KB
207807222df026f40ac3688a3a051e38 14KB
21239ba77ac4b534f958e8617ef13ede 18KB
22292ca8ffb574945bedfaf49266672e 24KB
2668418d0a8c6804facdeca6e5fc6d98 5KB
2cd6cf8081992cd4aaea962072fef1d7 4KB
321c592dfcb49cd458c8f2cbe497513d 5KB
3439a9e4030efca45b6cc06240106c02 4KB
35144820bcc25444bb8f0fd767d9423e 6KB
355d7326306624a4dbebfc1e79ffcf39 4KB
35c989013c977244186e524a4c90dcee 96KB
3a82e8e86b9eecb40ac3f6ebc949f6ef 5KB
3b5a0a7dce46a13459199d174ad3db3f 5KB
3bd656b8cd7958e4aa9da3a6a9b86663 4KB
3c0464991e33a70498abdd85c150cc59 13KB
3c0ad459c1534645b5d603b7cc258f97 6KB
3d2cadb1ccf05074e8ce96b1393846cf 14KB
3e262c2b04eaa8440987b50a91e86674 4KB
49a81ce8037f41540ac70f51e9a19d7f 13KB
4bcfebc9a2f1074488adedd1fe84e6c9 5KB
4fdde8222e647b24b816eec3ad67ff32 8KB
50a9ddcc59cdf244883cf0ec646cc8c1 7KB
54bf6700cd568cd42bb4c7bd07ef0e92 4KB
568adb160ade13d44bb2ab04dbab0e8c 4KB
57b538e62a0ca6248bfd354def935e57 12KB
5867a53c8db0e6745818285bb6b6e1b9 8KB
59bd931ab110fe04c9d53046c4b850d4 4KB
5c1b84a427010e0469ce0df07ab64dbc 7KB
5f32cd94baa94578a686d4b9d6b660f7 8KB
60c609ded101b0a468fb5cf27b31cf27 15KB
612a7d8fb44bb994d90d9c0fa1408703 126KB
627855c7f81362d41938ffe0b1475957 12KB
6389c32085f1ef04f88e046b96ab6fc6 188KB
63a4d1519cb8dea42be7addce2022400 5KB
64179f3720bbfe947b7724caa67b7c1d 7KB
6587c8104d7524f4280d0a68dd779f27 9KB
662d55ff3273916409eea65fc61403b3 9KB
6acb8d21564821e4e92aaa49ce2151cc 7KB
6b4df3943860f1d45bfe232053a58d80 6KB
71760b65ad7d5b842942c797a0366fa7 15KB
7379c1718ac64ca48bdb60b1dd644a5c 5KB
739bbd9f364b4268874f9fd86ab3beef 6KB
748eb70bc0d7515498ef73fed155520a 5KB
75e7ad8b915ba7f44862226c293e2e1b 4KB
769d4ce162f790e4882d8236b8c446a6 4KB
774b689514ce3234bbeae27fee209929 4KB
7cbab2be89b54486bbd23a6fe637d30e 4KB
7dcadaf22424c4f5d82f4d48c3b8097f 6KB
7dcf9a2d8dc276745bb51228cc019f52 7KB
80a3616ca19596e4da0f10f14d241e9f 9KB
81f419e5cdbdf4a4088e71234aeec073 4KB
83c7620118e76384db972fbb42e91b20 15KB
8425b95fef16c3f4194e3a20e245cb67 25KB
84db789113d4b01418c1becb128c4561 11KB
852e56802eb941638acbb491814497b0 6KB
870353891bb340e2b2a9c8707e7419ba 8KB
88e11b3353de7e94d84b1ec5adbdd15e 147KB
8a200f466ab736d4db123679566192b8 4KB
8d4f08d435c4b6343969d8af249460ff 127KB
8e0cd8ed44d4412cbe0642067abc9e44 4KB
90dfb9f33fa60f84dbb718709bcc10d9 4KB
93a99bc46f8582340a05ab492c448ecd 5KB
94ba1138c322ea04c8c37cfbcf87f468 5KB
953c6a9962b5ca6428cc8234d5d720cc 4KB
共 1763 条
- 1
- 2
- 3
- 4
- 5
- 6
- 18
资源评论
- sincenely2018-06-26看看吧。。 没有办法
- Mirai丶2018-12-07过来看一下
- 编程少侠2018-03-01还可以的哟
- baidu_265239692017-12-02过来看一下。
xiaogeformax
- 粉丝: 101
- 资源: 25
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功