mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
rename to NTHybrid
This commit is contained in:
parent
f4d76ca49f
commit
106e38e54b
@ -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;
|
||||||
|
|
@ -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.")]
|
Loading…
Reference in New Issue
Block a user