Skip to content

Commit 190564e

Browse files
committed
Made NetworkAnimator compliant with C# 4
1 parent 34031be commit 190564e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MLAPI/MonoBehaviours/Prototyping/NetworkedAnimator.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ private void FixedUpdate()
8181

8282
CheckSendRate();
8383

84-
if (!CheckAnimStateChanged(out int stateHash, out float normalizedTime))
84+
int stateHash;
85+
float normalizedTime;
86+
if (!CheckAnimStateChanged(out stateHash, out normalizedTime))
8587
{
8688
return;
8789
}

0 commit comments

Comments
 (0)