1 parent 2aa38fe commit a84614eCopy full SHA for a84614e
1 file changed
com.unity.netcode.gameobjects/Runtime/Components/NetworkAnimator.cs
@@ -1346,8 +1346,7 @@ private unsafe void WriteParameters(ref FastBufferWriter writer)
1346
BytePacker.WriteValuePacked(writer, (uint)valueInt);
1347
}
1348
1349
- else
1350
- if (cacheValue.Type == AnimationParamEnumWrapper.AnimatorControllerParameterBool)
+ else if (cacheValue.Type == AnimationParamEnumWrapper.AnimatorControllerParameterBool)
1351
{
1352
var valueBool = m_Animator.GetBool(hash);
1353
fixed (void* value = cacheValue.Value)
0 commit comments