revert network animator "fix"

This commit is contained in:
JohnCorby 2022-01-15 18:08:17 -08:00
parent f0ef9de7e4
commit 4f9ee55f3d

View File

@ -81,18 +81,14 @@ namespace Mirror
lastIntParameters = new int[parameters.Length];
lastFloatParameters = new float[parameters.Length];
lastBoolParameters = new bool[parameters.Length];
}
void FixedUpdate()
{
// QSB: move array init here since layerCount will not be 0
if (animationHash == null)
{
animationHash = new int[animator.layerCount];
transitionHash = new int[animator.layerCount];
layerWeight = new float[animator.layerCount];
}
void FixedUpdate()
{
if (!SendMessagesAllowed)
return;