NetworkedObject Class |
[This is preliminary documentation and is subject to change.]
Namespace: MLAPI
The NetworkedObject type exposes the following members.
| Name | Description | |
|---|---|---|
| NetworkedObject | Initializes a new instance of the NetworkedObject 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.) | |
| 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.) | |
| isLocalPlayer |
Gets if the object is the the personal clients player object
| |
| isOwnedByServer |
Gets wheter or not the object is owned by anyone
| |
| isOwner |
Gets if the object is owned by the local player or if the object is the local player object
| |
| isPlayerObject |
Gets if this object is a player object
| |
| isPooledObject |
Gets if this object is part of a pool
| |
| isSpawned |
Gets if the object has yet been spawned across the network
| |
| light | Obsolete. (Inherited from Component.) | |
| name | (Inherited from Object.) | |
| NetworkId |
Gets the unique ID of this object that is synced across the network
| |
| networkView | Obsolete. (Inherited from Component.) | |
| OwnerClientId |
Gets the clientId of the owner of this NetworkedObject
| |
| particleEmitter | Obsolete. (Inherited from Component.) | |
| particleSystem | Obsolete. (Inherited from Component.) | |
| PoolId |
Gets the poolId this object is part of
| |
| renderer | Obsolete. (Inherited from Component.) | |
| rigidbody | Obsolete. (Inherited from Component.) | |
| rigidbody2D | Obsolete. (Inherited from Component.) | |
| runInEditMode | (Inherited from MonoBehaviour.) | |
| 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.) | |
| ChangeOwnership |
Changes the owner of the object. Can only be called from server
| |
| CompareTag | (Inherited from Component.) | |
| Equals | (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.) | |
| RemoveOwnership |
Removes all ownership of an object from any client. Can only be called from server
| |
| 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.) | |
| Spawn |
Spawns this GameObject across the network. Can only be called from the Server
| |
| SpawnAsPlayerObject |
Spawns an object across the network and makes it the player object for the given client
| |
| SpawnWithOwnership |
Spawns an object across the network with a given owner. Can only be called from server
| |
| StartCoroutine(String) | (Inherited from MonoBehaviour.) | |
| StartCoroutine(IEnumerator) | (Inherited from MonoBehaviour.) | |
| StartCoroutine(String, Object) | (Inherited from MonoBehaviour.) | |
| StartCoroutine_Auto | Obsolete. (Inherited from MonoBehaviour.) | |
| StopAllCoroutines | (Inherited from MonoBehaviour.) | |
| StopCoroutine(IEnumerator) | (Inherited from MonoBehaviour.) | |
| StopCoroutine(Coroutine) | (Inherited from MonoBehaviour.) | |
| StopCoroutine(String) | (Inherited from MonoBehaviour.) | |
| ToString | (Inherited from Object.) | |
| UnSpawn |
Unspawns this GameObject and destroys it for other clients. This should be used if the object should be kept on the server
|
| Name | Description | |
|---|---|---|
| NetworkedPrefabName |
The name of the NetworkedPrefab
|