We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b02e1e commit 50d934aCopy full SHA for 50d934a
com.unity.netcode.gameobjects/Runtime/Components/NetworkRigidBodyBase.cs
@@ -55,7 +55,9 @@ public abstract class NetworkRigidbodyBase : NetworkBehaviour
55
// Used to cache the authority state of this Rigidbody during the last frame
56
private bool m_IsAuthority;
57
58
+#if COM_UNITY_MODULES_PHYSICS
59
protected internal Rigidbody m_InternalRigidbody { get; private set; }
60
+#endif
61
62
#if COM_UNITY_MODULES_PHYSICS2D
63
protected internal Rigidbody2D m_InternalRigidbody2D { get; private set; }
@@ -79,7 +81,9 @@ private enum InterpolationTypes
79
81
/// </summary>
80
82
public enum RigidbodyTypes
83
{
84
85
Rigidbody,
86
87
88
Rigidbody2D,
89
#endif
0 commit comments