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