Skip to content

Commit b720328

Browse files
update
Renaming the define to something more generic in the event we need to use it for something else.
1 parent 7f429b1 commit b720328

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public void Execute(int index)
374374

375375
var result = new JobResultStruct()
376376
{
377-
#if CONTACTPAIRHEADER_OTHERBODYENTITYID
377+
#if UNITY_6000_3_0A6_OR_HIGHER
378378
ThisInstanceID = PairedHeaders[index].bodyEntityId,
379379
OtherInstanceID = PairedHeaders[index].otherBodyEntityId,
380380
#else

com.unity.netcode.gameobjects/Runtime/Unity.Netcode.Runtime.asmdef

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
{
8282
"name": "Unity",
8383
"expression": "6000.3.0a6",
84-
"define": "CONTACTPAIRHEADER_OTHERBODYENTITYID"
84+
"define": "UNITY_6000_3_0A6_OR_HIGHER"
8585
}
8686
],
8787
"noEngineReferences": false

0 commit comments

Comments
 (0)