Photon Bolt Engine API 1.3

List of all members
Photon.Bolt.Internal.BoltSend Class Reference

More...

Inheritance diagram for Photon.Bolt.Internal.BoltSend:

Detailed Description

Example: if bolt is missing the `BoltSend behaviour then the simulation is broken and we should shut down.

void CheckBoltHealth() {
if(BoltNetwork.globalObject.GetComponent<BoltSend>() == null) {
Debug.Log("BoltSend is missing!);
GameApplication.Shutdown(ErrorCode.Bolt);
}
}