docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ICustomMessage

    An interface that can be used to declare a 'Custom Message' (RPC) struct.

    Namespace: Unity.Netcode
    Assembly: Unity.NetCode.dll
    Syntax
    public interface ICustomMessage : IRpcCommand, IComponentData
    Remarks

    Custom messages are backed by IRpcCommand and have all the same restrictions

    In This Article
    Back to top
    Copyright © 2026 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)