rename to NTHybrid

This commit is contained in:
mischa 2024-10-02 09:54:36 +02:00
parent f4d76ca49f
commit 106e38e54b
4 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ namespace Mirror
{ {
// [RequireComponent(typeof(Rigidbody))] <- OnValidate ensures this is on .target // [RequireComponent(typeof(Rigidbody))] <- OnValidate ensures this is on .target
[AddComponentMenu("Network/Network Rigidbody (Unreliable Compressed)")] [AddComponentMenu("Network/Network Rigidbody (Unreliable Compressed)")]
public class NetworkRigidbodyUnreliableCompressed : NetworkTransformUnreliableCompressed public class NetworkRigidbodyHybrid : NetworkTransformHybrid
{ {
bool clientAuthority => syncDirection == SyncDirection.ClientToServer; bool clientAuthority => syncDirection == SyncDirection.ClientToServer;

View File

@ -6,8 +6,8 @@
namespace Mirror namespace Mirror
{ {
[AddComponentMenu("Network/Network Transform (Unreliable Compressed)")] [AddComponentMenu("Network/Network Transform (Hybrid)")]
public class NetworkTransformUnreliableCompressed : NetworkTransformBase public class NetworkTransformHybrid : NetworkTransformBase
{ {
[Header("Additional Settings")] [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.")] [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.")]