Skip to content

Commit 50d934a

Browse files
update
Missed two spots.
1 parent 9b02e1e commit 50d934a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

com.unity.netcode.gameobjects/Runtime/Components/NetworkRigidBodyBase.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ public abstract class NetworkRigidbodyBase : NetworkBehaviour
5555
// Used to cache the authority state of this Rigidbody during the last frame
5656
private bool m_IsAuthority;
5757

58+
#if COM_UNITY_MODULES_PHYSICS
5859
protected internal Rigidbody m_InternalRigidbody { get; private set; }
60+
#endif
5961

6062
#if COM_UNITY_MODULES_PHYSICS2D
6163
protected internal Rigidbody2D m_InternalRigidbody2D { get; private set; }
@@ -79,7 +81,9 @@ private enum InterpolationTypes
7981
/// </summary>
8082
public enum RigidbodyTypes
8183
{
84+
#if COM_UNITY_MODULES_PHYSICS
8285
Rigidbody,
86+
#endif
8387
#if COM_UNITY_MODULES_PHYSICS2D
8488
Rigidbody2D,
8589
#endif

0 commit comments

Comments
 (0)