PUN Classic (v1.x) and Bolt are outdated and will not receive further updates. Of course, existing PUN Classic and Bolt projects will continue to run. New projects should use Fusion or 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;