![]() |
Classes | |
struct | Sandboxs |
Static Public Member Functions | |
static void | Init (NetworkTransport transport=null, NetickConfig config=null) |
static void | Shutdown () |
static void | Focus (NetworkSandbox sandbox) |
static Sandboxs | StartAsServerAndClient (int serverPort, GameObject prefab=null, int numOfClients=1, bool interpolateOnServer=true) |
static NetworkSandbox | StartAsClient (int port, GameObject prefab=null) |
static NetworkSandbox | StartAsServer (int port, GameObject prefab=null, bool interpolate=true) |
Properties | |
StartMode | StartMode [get, set] |
static bool | Running [get] |
static string | Version [get] |
static bool | IsHeadless [get] |
static Network | Instance [get] |
|
static |
Focus on a specific sandbox.
sandbox | The sandbox to focus on. |
|
static |
Initialize Netick. This is automatically called when you start Netick.
If you don't provide a NetickConfig, Netick will use the default config, which can be modified/found in (Netick -> Settings).
If you don't provide a NetworkTransport, Netick will use the transport assigned in (Netick -> Settings -> Transport).
transport |
|
static |
Shuts down Netick and destroys all sandboxes.
|
static |
Starts Netick as a client.
|
static |
|
static |
Starts both a client (or clients) and a server.
serverPort | Network port. |
numOfClients | Number of client sandboxs to create. |
interpolateOnServer | Enable interpolation. |
|
staticget |
|
staticget |
|
staticget |
|
getset |
|
staticget |