From 106e38e54ba6ca178eb8972cd5d682abfa5817e7 Mon Sep 17 00:00:00 2001 From: mischa Date: Wed, 2 Oct 2024 09:54:36 +0200 Subject: [PATCH] rename to NTHybrid --- ...iableCompressed.cs => NetworkRigidbodyUnreliableHybrid.cs} | 2 +- ...essed.cs.meta => NetworkRigidbodyUnreliableHybrid.cs.meta} | 0 ...sformUnreliableCompressed.cs => NetworkTransformHybrid.cs} | 4 ++-- ...iableCompressed.cs.meta => NetworkTransformHybrid.cs.meta} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename Assets/Mirror/Components/NetworkRigidbody/{NetworkRigidbodyUnreliableCompressed.cs => NetworkRigidbodyUnreliableHybrid.cs} (97%) rename Assets/Mirror/Components/NetworkRigidbody/{NetworkRigidbodyUnreliableCompressed.cs.meta => NetworkRigidbodyUnreliableHybrid.cs.meta} (100%) rename Assets/Mirror/Components/NetworkTransform/{NetworkTransformUnreliableCompressed.cs => NetworkTransformHybrid.cs} (99%) rename Assets/Mirror/Components/NetworkTransform/{NetworkTransformUnreliableCompressed.cs.meta => NetworkTransformHybrid.cs.meta} (100%) diff --git a/Assets/Mirror/Components/NetworkRigidbody/NetworkRigidbodyUnreliableCompressed.cs b/Assets/Mirror/Components/NetworkRigidbody/NetworkRigidbodyUnreliableHybrid.cs similarity index 97% rename from Assets/Mirror/Components/NetworkRigidbody/NetworkRigidbodyUnreliableCompressed.cs rename to Assets/Mirror/Components/NetworkRigidbody/NetworkRigidbodyUnreliableHybrid.cs index e29f3c9d3..9e8d4a7de 100644 --- a/Assets/Mirror/Components/NetworkRigidbody/NetworkRigidbodyUnreliableCompressed.cs +++ b/Assets/Mirror/Components/NetworkRigidbody/NetworkRigidbodyUnreliableHybrid.cs @@ -4,7 +4,7 @@ namespace Mirror { // [RequireComponent(typeof(Rigidbody))] <- OnValidate ensures this is on .target [AddComponentMenu("Network/Network Rigidbody (Unreliable Compressed)")] - public class NetworkRigidbodyUnreliableCompressed : NetworkTransformUnreliableCompressed + public class NetworkRigidbodyHybrid : NetworkTransformHybrid { bool clientAuthority => syncDirection == SyncDirection.ClientToServer; diff --git a/Assets/Mirror/Components/NetworkRigidbody/NetworkRigidbodyUnreliableCompressed.cs.meta b/Assets/Mirror/Components/NetworkRigidbody/NetworkRigidbodyUnreliableHybrid.cs.meta similarity index 100% rename from Assets/Mirror/Components/NetworkRigidbody/NetworkRigidbodyUnreliableCompressed.cs.meta rename to Assets/Mirror/Components/NetworkRigidbody/NetworkRigidbodyUnreliableHybrid.cs.meta diff --git a/Assets/Mirror/Components/NetworkTransform/NetworkTransformUnreliableCompressed.cs b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid.cs similarity index 99% rename from Assets/Mirror/Components/NetworkTransform/NetworkTransformUnreliableCompressed.cs rename to Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid.cs index f3473749c..85ae0e73a 100644 --- a/Assets/Mirror/Components/NetworkTransform/NetworkTransformUnreliableCompressed.cs +++ b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid.cs @@ -6,8 +6,8 @@ namespace Mirror { - [AddComponentMenu("Network/Network Transform (Unreliable Compressed)")] - public class NetworkTransformUnreliableCompressed : NetworkTransformBase + [AddComponentMenu("Network/Network Transform (Hybrid)")] + public class NetworkTransformHybrid : NetworkTransformBase { [Header("Additional Settings")] [Tooltip("If we only sync on change, then we need to correct old snapshots if more time than sendInterval * multiplier has elapsed.\n\nOtherwise the first move will always start interpolating from the last move sequence's time, which will make it stutter when starting every time.")] diff --git a/Assets/Mirror/Components/NetworkTransform/NetworkTransformUnreliableCompressed.cs.meta b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid.cs.meta similarity index 100% rename from Assets/Mirror/Components/NetworkTransform/NetworkTransformUnreliableCompressed.cs.meta rename to Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid.cs.meta