docs.unity.cn
    Show / Hide Table of Contents

    Class ClientRpcAttribute

    Marks a method as ClientRpc.

    A ClientRpc marked method will be fired by the server but executed on clients.

    Inheritance
    Object
    Attribute
    RpcAttribute
    ClientRpcAttribute
    Inherited Members
    RpcAttribute.Delivery
    Namespace: Unity.Netcode
    Syntax
    [AttributeUsage(AttributeTargets.Method)]
    public class ClientRpcAttribute : RpcAttribute, _Attribute
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, April 21, 2023
    Terms of use