Skip to content

Commit b82507f

Browse files
committed
Added supression for mono incompatible features in NetworkedAnimator
1 parent fbae203 commit b82507f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MLAPI/MonoBehaviours/Prototyping/NetworkedAnimator.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,10 @@ private void FixedUpdate()
117117

118118
CheckSendRate();
119119

120+
#pragma warning disable IDE0018 // Inline variable declaration, Unity's Mono version doesn't support it
120121
int stateHash;
121122
float normalizedTime;
123+
#pragma warning restore IDE0018 // Inline variable declaration, Unity's Mono version doesn't support it
122124
if (!CheckAnimStateChanged(out stateHash, out normalizedTime))
123125
{
124126
return;

0 commit comments

Comments
 (0)