Skip to content

Commit e9787b2

Browse files
fix
Another spot where EntityId was needed.
1 parent 45c8886 commit e9787b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,13 @@ public class RigidbodyContactEventManager : MonoBehaviour
8080
private struct JobResultStruct
8181
{
8282
public bool HasCollisionStay;
83+
#if UNITY_6000_2_OR_NEWER
84+
public EntityId ThisInstanceID;
85+
public EntityId OtherInstanceID;
86+
#else
8387
public int ThisInstanceID;
8488
public int OtherInstanceID;
89+
#endif
8590
public Vector3 AverageNormal;
8691
public Vector3 AverageCollisionStayNormal;
8792
public Vector3 ContactPoint;

0 commit comments

Comments
 (0)