Exemplo n.º 1
0
        /// <inheritdoc />
        public virtual void SendRPC(NetDataWriter stream, string rpcName)
        {
            RPCMethodInfo rpcMethodInfo  = null;
            int           rpcMethodIndex = TinyNetStateSyncer.GetRPCMethodInfoFromType(GetType(), rpcName, ref rpcMethodInfo);

            SendRPC(stream, rpcMethodInfo.target, rpcMethodInfo.caller, rpcMethodIndex);
        }