Made NetworkAnimator compliant with C# 4

This commit is contained in:
Albin Corén 2018-03-08 20:30:46 +01:00
parent 34031beee0
commit 190564eb87

View File

@ -81,7 +81,9 @@ namespace MLAPI.MonoBehaviours.Prototyping
CheckSendRate();
if (!CheckAnimStateChanged(out int stateHash, out float normalizedTime))
int stateHash;
float normalizedTime;
if (!CheckAnimStateChanged(out stateHash, out normalizedTime))
{
return;
}