void RpcOnAnimationClientMessage(int stateHash, float normalizedTime, int layerId, float weight, byte[] parameters)
 {
     using (PooledNetworkReader networkReader = NetworkReaderPool.GetReader(parameters))
         HandleAnimMsg(stateHash, normalizedTime, layerId, weight, networkReader);
 }
 void RpcOnAnimationParametersClientMessage(byte[] parameters)
 {
     using (PooledNetworkReader networkReader = NetworkReaderPool.GetReader(parameters))
         HandleAnimParamsMsg(networkReader);
 }
Exemple #3
0
 /// <summary>Returns a reader to the pool.</summary>
 public static void Recycle(PooledNetworkReader reader)
 {
     Pool.Return(reader);
 }