docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method CompileExecute

    CompileExecute()

    Invoked when the rpc is registered to the RpcSystem at runtime. Should return a valid burst-compatible function pointer of a static method that will be called after the rpc has been deserialized to actually "execute" the command. By declaring rpcs using IRpcCommand, this method is automatically generated. See also RpcExecutor for further information on how to use it to implement your custom execute method.

    Declaration
    PortableFunctionPointer<RpcExecutor.ExecuteDelegate> CompileExecute()
    Returns
    Type Description
    PortableFunctionPointer<RpcExecutor.ExecuteDelegate>
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)