diff --git a/Assets/Mirror/Components/Experimental/NetworkRigidbody.cs b/Assets/Mirror/Components/Experimental/NetworkRigidbody.cs index b39b0ffd2..939d33688 100644 --- a/Assets/Mirror/Components/Experimental/NetworkRigidbody.cs +++ b/Assets/Mirror/Components/Experimental/NetworkRigidbody.cs @@ -10,7 +10,7 @@ public class NetworkRigidbody : NetworkBehaviour [SerializeField] internal Rigidbody target = null; [Tooltip("Set to true if moves come from owner client, set to false if moves always come from server")] - [SerializeField] bool clientAuthority = false; + public bool clientAuthority = false; [Header("Velocity")] diff --git a/Assets/Mirror/Components/Experimental/NetworkRigidbody2D.cs b/Assets/Mirror/Components/Experimental/NetworkRigidbody2D.cs index facb7735b..ca1936143 100644 --- a/Assets/Mirror/Components/Experimental/NetworkRigidbody2D.cs +++ b/Assets/Mirror/Components/Experimental/NetworkRigidbody2D.cs @@ -9,7 +9,7 @@ public class NetworkRigidbody2D : NetworkBehaviour [SerializeField] internal Rigidbody2D target = null; [Tooltip("Set to true if moves come from owner client, set to false if moves always come from server")] - [SerializeField] bool clientAuthority = false; + public bool clientAuthority = false; [Header("Velocity")]