NetworkAnimator: OnSerialize more obvious syntax (parameter is always true due to the 'if initialstate' above it)

This commit is contained in:
mischa 2024-01-02 13:30:53 +01:00
parent 7c87da9bc7
commit 35d1387c7a

View File

@ -382,7 +382,7 @@ public override void OnSerialize(NetworkWriter writer, bool initialState)
writer.WriteFloat(st.normalizedTime);
writer.WriteFloat(animator.GetLayerWeight(i));
}
WriteParameters(writer, initialState);
WriteParameters(writer, true);
}
}