From 99760f6380596d10d4b18a30f36eceba59f1430f Mon Sep 17 00:00:00 2001 From: vis2k Date: Sun, 5 Sep 2021 20:34:06 +0800 Subject: [PATCH] obsolete both old --- Assets/Mirror/Components/Experimental/NetworkLerpRigidbody.cs | 2 ++ Assets/Mirror/Components/Experimental/NetworkRigidbody.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/Mirror/Components/Experimental/NetworkLerpRigidbody.cs b/Assets/Mirror/Components/Experimental/NetworkLerpRigidbody.cs index e5fcdf5f6..c688c8173 100644 --- a/Assets/Mirror/Components/Experimental/NetworkLerpRigidbody.cs +++ b/Assets/Mirror/Components/Experimental/NetworkLerpRigidbody.cs @@ -1,9 +1,11 @@ +using System; using UnityEngine; namespace Mirror.Experimental { [AddComponentMenu("Network/ Experimental/Network Lerp Rigidbody")] [HelpURL("https://mirror-networking.gitbook.io/docs/components/network-lerp-rigidbody")] + [Obsolete("Use the new NetworkRigidbody component with Snapshot Interpolation instead.\nSee Components/NetworkTransform2k/NetworkRigidbody")] public class NetworkLerpRigidbody : NetworkBehaviour { [Header("Settings")] diff --git a/Assets/Mirror/Components/Experimental/NetworkRigidbody.cs b/Assets/Mirror/Components/Experimental/NetworkRigidbody.cs index a62229d06..3e248e557 100644 --- a/Assets/Mirror/Components/Experimental/NetworkRigidbody.cs +++ b/Assets/Mirror/Components/Experimental/NetworkRigidbody.cs @@ -5,7 +5,7 @@ namespace Mirror.Experimental { [AddComponentMenu("Network/ Experimental/Network Rigidbody")] [HelpURL("https://mirror-networking.gitbook.io/docs/components/network-rigidbody")] - [Obsolete("Use the new NetworkRigidbody component with Snapshot Interpolation instead.")] + [Obsolete("Use the new NetworkRigidbody component with Snapshot Interpolation instead.\nSee Components/NetworkTransform2k/NetworkRigidbody")] public class NetworkRigidbody : NetworkBehaviour { [Header("Settings")]