Utility class used to start Bolt as Server or Client. More...
Static Public Member Functions | |
static void | SetUdpPlatform (UdpPlatform platform) |
Set a custom UDP platform. Use this method only to set custom properties to your desired platform. By default, there is no need to change the platform, this is handled internally by Bolt. More... | |
static void | Shutdown () |
Shutdown this Bolt instance. More... | |
static void | StartClient (BoltConfig config) |
Starts Bolt as Client. More... | |
static void | StartClient (int port=-1) |
Starts Bolt as Client. More... | |
static void | StartClient (UdpEndPoint endpoint, BoltConfig config=null) |
Starts Bolt as Client. More... | |
static void | StartServer (BoltConfig config, string scene=null) |
Starts Bolt as Server. More... | |
static void | StartServer (int port=-1) |
Starts Bolt as Server. More... | |
static void | StartServer (UdpEndPoint endpoint, BoltConfig config, string scene=null) |
Starts Bolt as Server. More... | |
static void | StartServer (UdpEndPoint endpoint, string scene=null) |
Starts Bolt as Server. More... | |
static void | StartSinglePlayer (BoltConfig config=null) |
Starts Bolt as a Single Player game More... | |
Utility class used to start Bolt as Server or Client.
|
inlinestatic |
Set a custom UDP platform. Use this method only to set custom properties to your desired platform. By default, there is no need to change the platform, this is handled internally by Bolt.
platform | Custom UdpPlatform |
This example show how to set a custom PhotonPlatform:
|
inlinestatic |
Shutdown this Bolt instance.
|
inlinestatic |
|
inlinestatic |
Starts Bolt as Client.
port | Port where the Server will try to bind |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Starts Bolt as Server.
port | Port where the Server will try to bind |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |