mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 18:40:03 +00:00
revert network animator "fix"
This commit is contained in:
parent
f0ef9de7e4
commit
4f9ee55f3d
@ -81,18 +81,14 @@ namespace Mirror
|
||||
lastIntParameters = new int[parameters.Length];
|
||||
lastFloatParameters = new float[parameters.Length];
|
||||
lastBoolParameters = new bool[parameters.Length];
|
||||
|
||||
animationHash = new int[animator.layerCount];
|
||||
transitionHash = new int[animator.layerCount];
|
||||
layerWeight = new float[animator.layerCount];
|
||||
}
|
||||
|
||||
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];
|
||||
}
|
||||
|
||||
if (!SendMessagesAllowed)
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user