obsolete experimental NetworkTransform

This commit is contained in:
vis2k 2021-07-20 12:05:36 +08:00
parent 24033c101b
commit f404da833c
2 changed files with 8 additions and 2 deletions

View File

@ -1,10 +1,13 @@
using UnityEngine;
using System;
using UnityEngine;
namespace Mirror.Experimental
{
[DisallowMultipleComponent]
[AddComponentMenu("Network/Experimental/NetworkTransformExperimental")]
[HelpURL("https://mirror-networking.gitbook.io/docs/components/network-transform")]
// DEPRECATED 2021-07-20
[Obsolete("NetworkTransform now uses Snapshot Interpolation. This component will be removed soon.")]
public class NetworkTransform : NetworkTransformBase
{
protected override Transform targetTransform => transform;

View File

@ -1,4 +1,5 @@
using UnityEngine;
using System;
using UnityEngine;
namespace Mirror.Experimental
{
@ -8,6 +9,8 @@ namespace Mirror.Experimental
/// </summary>
[AddComponentMenu("Network/Experimental/NetworkTransformChildExperimentalExperimental")]
[HelpURL("https://mirror-networking.gitbook.io/docs/components/network-transform-child")]
// DEPRECATED 2021-07-20
[Obsolete("NetworkTransform now uses Snapshot Interpolation. This component will be removed soon.")]
public class NetworkTransformChild : NetworkTransformBase
{
[Header("Target")]