Struct RpcExecutor | Unity NetCode | 0.6.0-preview.7
docs.unity.cn
    Show / Hide Table of Contents

    Struct RpcExecutor

    Namespace: Unity.NetCode
    Syntax
    public struct RpcExecutor

    Methods

    ExecuteCreateRequestComponent<TActionSerializer, TActionRequest>(ref RpcExecutor.Parameters)

    Helper method used to create a new entity for an RPC request T.

    Declaration
    public static Entity ExecuteCreateRequestComponent<TActionSerializer, TActionRequest>(ref RpcExecutor.Parameters parameters)
        where TActionSerializer : struct, IRpcCommandSerializer<TActionRequest> where TActionRequest : struct, IComponentData
    Parameters
    Type Name Description
    RpcExecutor.Parameters parameters
    Returns
    Type Description
    Entity
    Type Parameters
    Name Description
    TActionSerializer
    TActionRequest
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021