Added supression for mono incompatible features in NetworkedAnimator

This commit is contained in:
Albin Corén 2018-04-01 10:33:04 +02:00
parent fbae203b1c
commit b82507fc5c

View File

@ -117,8 +117,10 @@ namespace MLAPI.MonoBehaviours.Prototyping
CheckSendRate();
#pragma warning disable IDE0018 // Inline variable declaration, Unity's Mono version doesn't support it
int stateHash;
float normalizedTime;
#pragma warning restore IDE0018 // Inline variable declaration, Unity's Mono version doesn't support it
if (!CheckAnimStateChanged(out stateHash, out normalizedTime))
{
return;