obsolete both old

This commit is contained in:
vis2k 2021-09-05 20:34:06 +08:00 committed by mischa
parent 0dc24e52e9
commit 99760f6380
2 changed files with 3 additions and 1 deletions

View File

@ -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")]

View File

@ -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")]