NetworkingManager Class |
Namespace: MLAPI
public class NetworkingManager : MonoBehaviour
The NetworkingManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | NetworkingManager | Initializes a new instance of the NetworkingManager class |
Name | Description | |
---|---|---|
![]() | animation | Obsolete. (Inherited from Component.) |
![]() | audio | Obsolete. (Inherited from Component.) |
![]() | camera | Obsolete. (Inherited from Component.) |
![]() | collider | Obsolete. (Inherited from Component.) |
![]() | collider2D | Obsolete. (Inherited from Component.) |
![]() | ConnectedClients |
Gets a dictionary of connected clients
|
![]() | constantForce | Obsolete. (Inherited from Component.) |
![]() | enabled | (Inherited from Behaviour.) |
![]() | gameObject | (Inherited from Component.) |
![]() | guiElement | Obsolete. (Inherited from Component.) |
![]() | guiText | Obsolete. (Inherited from Component.) |
![]() | guiTexture | Obsolete. (Inherited from Component.) |
![]() | hideFlags | (Inherited from Object.) |
![]() | hingeJoint | Obsolete. (Inherited from Component.) |
![]() | isActiveAndEnabled | (Inherited from Behaviour.) |
![]() | IsClientConnected |
Gets if we are connected as a client
|
![]() | isHost |
Gets if we are running as host
|
![]() | light | Obsolete. (Inherited from Component.) |
![]() | MyClientId |
The clientId the server calls the local client by, only valid for clients
|
![]() | name | (Inherited from Object.) |
![]() | NetworkTime |
A syncronized time, represents the time in seconds since the server application started. Is replicated across all clients
|
![]() | networkView | Obsolete. (Inherited from Component.) |
![]() | particleEmitter | Obsolete. (Inherited from Component.) |
![]() | particleSystem | Obsolete. (Inherited from Component.) |
![]() | renderer | Obsolete. (Inherited from Component.) |
![]() | rigidbody | Obsolete. (Inherited from Component.) |
![]() | rigidbody2D | Obsolete. (Inherited from Component.) |
![]() | runInEditMode | (Inherited from MonoBehaviour.) |
![]() ![]() | singleton |
The singleton instance of the NetworkingManager
|
![]() | tag | (Inherited from Component.) |
![]() | transform | (Inherited from Component.) |
![]() | useGUILayout | (Inherited from MonoBehaviour.) |
Name | Description | |
---|---|---|
![]() | BroadcastMessage(String) | (Inherited from Component.) |
![]() | BroadcastMessage(String, Object) | (Inherited from Component.) |
![]() | BroadcastMessage(String, SendMessageOptions) | (Inherited from Component.) |
![]() | BroadcastMessage(String, Object, SendMessageOptions) | (Inherited from Component.) |
![]() | CancelInvoke | (Inherited from MonoBehaviour.) |
![]() | CancelInvoke(String) | (Inherited from MonoBehaviour.) |
![]() | CompareTag | (Inherited from Component.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetComponent(Type) | (Inherited from Component.) |
![]() | GetComponent(String) | (Inherited from Component.) |
![]() | GetComponent``1 | (Inherited from Component.) |
![]() | GetComponentInChildren(Type) | (Inherited from Component.) |
![]() | GetComponentInChildren(Type, Boolean) | (Inherited from Component.) |
![]() | GetComponentInChildren``1 | (Inherited from Component.) |
![]() | GetComponentInChildren``1(Boolean) | (Inherited from Component.) |
![]() | GetComponentInParent(Type) | (Inherited from Component.) |
![]() | GetComponentInParent``1 | (Inherited from Component.) |
![]() | GetComponents(Type) | (Inherited from Component.) |
![]() | GetComponents(Type, ListComponent) | (Inherited from Component.) |
![]() | GetComponents``1 | (Inherited from Component.) |
![]() | GetComponents``1(ListUMP) | (Inherited from Component.) |
![]() | GetComponentsInChildren(Type) | (Inherited from Component.) |
![]() | GetComponentsInChildren(Type, Boolean) | (Inherited from Component.) |
![]() | GetComponentsInChildren``1 | (Inherited from Component.) |
![]() | GetComponentsInChildren``1(Boolean) | (Inherited from Component.) |
![]() | GetComponentsInChildren``1(ListUMP) | (Inherited from Component.) |
![]() | GetComponentsInChildren``1(Boolean, ListUMP) | (Inherited from Component.) |
![]() | GetComponentsInParent(Type) | (Inherited from Component.) |
![]() | GetComponentsInParent(Type, Boolean) | (Inherited from Component.) |
![]() | GetComponentsInParent``1 | (Inherited from Component.) |
![]() | GetComponentsInParent``1(Boolean) | (Inherited from Component.) |
![]() | GetComponentsInParent``1(Boolean, ListUMP) | (Inherited from Component.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetInstanceID | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | Invoke | (Inherited from MonoBehaviour.) |
![]() | InvokeRepeating | (Inherited from MonoBehaviour.) |
![]() | IsInvoking | (Inherited from MonoBehaviour.) |
![]() | IsInvoking(String) | (Inherited from MonoBehaviour.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | SendMessage(String) | (Inherited from Component.) |
![]() | SendMessage(String, Object) | (Inherited from Component.) |
![]() | SendMessage(String, SendMessageOptions) | (Inherited from Component.) |
![]() | SendMessage(String, Object, SendMessageOptions) | (Inherited from Component.) |
![]() | SendMessageUpwards(String) | (Inherited from Component.) |
![]() | SendMessageUpwards(String, Object) | (Inherited from Component.) |
![]() | SendMessageUpwards(String, SendMessageOptions) | (Inherited from Component.) |
![]() | SendMessageUpwards(String, Object, SendMessageOptions) | (Inherited from Component.) |
![]() | StartClient |
Starts a client with a given NetworkingConfiguration
|
![]() | StartCoroutine(IEnumerator) | (Inherited from MonoBehaviour.) |
![]() | StartCoroutine(String) | (Inherited from MonoBehaviour.) |
![]() | StartCoroutine(String, Object) | (Inherited from MonoBehaviour.) |
![]() | StartCoroutine_Auto | Obsolete. (Inherited from MonoBehaviour.) |
![]() | StartHost |
Starts a Host with a given NetworkingConfiguration
|
![]() | StartServer |
Starts a server with a given NetworkingConfiguration
|
![]() | StopAllCoroutines | (Inherited from MonoBehaviour.) |
![]() | StopClient |
Stops the running client
|
![]() | StopCoroutine(String) | (Inherited from MonoBehaviour.) |
![]() | StopCoroutine(IEnumerator) | (Inherited from MonoBehaviour.) |
![]() | StopCoroutine(Coroutine) | (Inherited from MonoBehaviour.) |
![]() | StopHost |
Stops the running host
|
![]() | StopServer |
Stops the running server
|
![]() | ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | DefaultPlayerPrefab |
The default prefab to give to players
|
![]() | DontDestroy |
Gets or sets if the NetworkingManager should be marked as DontDestroyOnLoad
|
![]() | NetworkConfig |
The current NetworkingConfiguration
|
![]() | OnClientConnectedCallback |
The callback to invoke once a client connects
|
![]() | OnClientDisconnectCallback |
The callback to invoke when a client disconnects
|
![]() | OnServerStarted |
The callback to invoke once the server is ready
|
![]() | RunInBackground |
Gets or sets if the application should be set to run in background
|
![]() | SpawnablePrefabs |
A list of spawnable prefabs
|