PUN Classic (v1)、PUN 2 和 Bolt 處於維護模式。 PUN 2 將支援 Unity 2019 至 2022,但不會添加新功能。 當然,您所有的 PUN & Bolt 專案可以用已知性能繼續運行使用。
對於任何即將開始或新的專案:請切換到 Photon Fusion 或 Quantum。
What's new in v1.3
Main Changes:
For a full list of changes, check the log here.
Bolt Namespaces Rework
The version 1.3 of Bolt comes with a lot of structural changes, mainly focusing on a better organization of the classes and system inside Bolt.
Unfortunatelly for a major refactor like this, it's necessary to change how the API is exposed, mainly by changing the namespaces, but also some methods and classes.
The major change was that all Bolt classes are now inside the Photon.Bolt.
namespace instead of just Bolt.
. Some changes are listed below:
Bolt.Command
toPhoton.Bolt.Command
;Bolt.ScopeMode
toPhoton.Bolt.ScopeMode
;Bolt.GlobalTargets
toPhoton.Bolt.GlobalTargets
;Bolt.IProtocolToken
toPhoton.Bolt.IProtocolToken
;Bolt.EntityBehaviour
toPhoton.Bolt.EntityBehaviour
;Bolt.ReliabilityModes
toPhoton.Bolt.ReliabilityModes
;Bolt.GlobalEventListener
toPhoton.Bolt.GlobalEventListener
;
Other namespaces that often are used:
Photon.Bolt.Utils
: include utility classes, likeBoltLog
and others.Photon.Bolt.Collections
: include the Bolt's own implementations of some collections, likeBoltRingBuffer
.Photon.Bolt.Matchmaking
: Matchmaking API;