mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
obsolete experimental NetworkTransform
This commit is contained in:
parent
24033c101b
commit
f404da833c
@ -1,10 +1,13 @@
|
|||||||
using UnityEngine;
|
using System;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Mirror.Experimental
|
namespace Mirror.Experimental
|
||||||
{
|
{
|
||||||
[DisallowMultipleComponent]
|
[DisallowMultipleComponent]
|
||||||
[AddComponentMenu("Network/Experimental/NetworkTransformExperimental")]
|
[AddComponentMenu("Network/Experimental/NetworkTransformExperimental")]
|
||||||
[HelpURL("https://mirror-networking.gitbook.io/docs/components/network-transform")]
|
[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
|
public class NetworkTransform : NetworkTransformBase
|
||||||
{
|
{
|
||||||
protected override Transform targetTransform => transform;
|
protected override Transform targetTransform => transform;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
using UnityEngine;
|
using System;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Mirror.Experimental
|
namespace Mirror.Experimental
|
||||||
{
|
{
|
||||||
@ -8,6 +9,8 @@ namespace Mirror.Experimental
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[AddComponentMenu("Network/Experimental/NetworkTransformChildExperimentalExperimental")]
|
[AddComponentMenu("Network/Experimental/NetworkTransformChildExperimentalExperimental")]
|
||||||
[HelpURL("https://mirror-networking.gitbook.io/docs/components/network-transform-child")]
|
[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
|
public class NetworkTransformChild : NetworkTransformBase
|
||||||
{
|
{
|
||||||
[Header("Target")]
|
[Header("Target")]
|
||||||
|
Loading…
Reference in New Issue
Block a user