Skip to content

Commit

Permalink
fix(NetworkRigidbody2D): Obsolete - Use NetworkRigidbodyReliable / Ne…
Browse files Browse the repository at this point in the history
…tworkRigidbodyUnreliable 2D instead
  • Loading branch information
MrGadget1024 committed Apr 16, 2024
1 parent 7bc7eb4 commit c807dae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Assets/Mirror/Components/Experimental/NetworkRigidbody2D.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
using System;
using UnityEngine;

namespace Mirror.Experimental
{
[AddComponentMenu("Network/ Experimental/Network Rigidbody 2D")]
[AddComponentMenu("")]
[HelpURL("https://mirror-networking.gitbook.io/docs/components/network-rigidbody")]
[Obsolete("Use the new NetworkRigidbodyReliable/Unreliable 2D component with Snapshot Interpolation instead.")]
public class NetworkRigidbody2D : NetworkBehaviour
{
[Header("Settings")]
Expand Down

0 comments on commit c807dae

Please sign in to comment.