From 797c693fe88660ee60cdeef37dc6090a5a0eb675 Mon Sep 17 00:00:00 2001 From: Chris Langsenkamp Date: Tue, 9 Jun 2020 09:27:33 -0400 Subject: [PATCH] doc: Updated Deprecations --- doc/General/Deprecations.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/General/Deprecations.md b/doc/General/Deprecations.md index 31c735b95..30f1be416 100644 --- a/doc/General/Deprecations.md +++ b/doc/General/Deprecations.md @@ -122,9 +122,9 @@ The currently defined channels are: - `OnSetLocalVisibility(bool visible)` Override `OnSetHostVisibility(bool visible)` instead. -- In Mirror 12, `OnRebuildObservers`, `OnCheckObserver`, and `OnSetHostVisibility` were moved to a separate class called `NetworkVisibility` +- `OnRebuildObservers`, `OnCheckObserver`, and `OnSetHostVisibility` were moved to a separate class called `NetworkVisibility` -- In Mirror 12, `NetworkBehaviour.OnNetworkDestroy` was renamed to `NetworkBehaviour.OnStopClient`. +- `NetworkBehaviour.OnNetworkDestroy` was renamed to `NetworkBehaviour.OnStopClient`. ### NetworkConnection @@ -182,13 +182,13 @@ The currently defined channels are: Use `SendToReady(NetworkIdentity identity, T msg, int channelId = Channels.DefaultReliable)` instead. - `SpawnWithClientAuthority(GameObject obj, GameObject player)` - Use `Spawn(GameObject, GameObject)` instead. + Use `Spawn(GameObject obj, GameObject player)` instead. - `SpawnWithClientAuthority(GameObject obj, NetworkConnection ownerConnection)` - Use `Spawn(obj, connection)` instead. + Use `Spawn(GameObject obj, NetworkConnection ownerConnection)` instead. - `SpawnWithClientAuthority(GameObject obj, Guid assetId, NetworkConnection ownerConnection)` - Use `Spawn(obj, assetId, connection)` instead + Use `Spawn(GameObject obj, Guid assetId, NetworkConnection ownerConnection)` instead ### NetworkClient